Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007398/0.007398, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.301, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.0041/0.3052, allocations: 1.856 MB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.3074, allocations: 1.256 MB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.3078, allocations: 8 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.3082, allocations: 75.19 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.3084, allocations: 59.41 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.3088, allocations: 171.7 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.3093, allocations: 485 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.3097, allocations: 275.4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3099, allocations: 171.3 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3101, allocations: 206.9 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.747e-05/0.3102, allocations: 52 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.3102, allocations: 56 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.3103, allocations: 103.7 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3105, allocations: 214.8 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.3112, allocations: 0.5876 MB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3112, allocations: 0 / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3112, allocations: 0 / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.3112, allocations: 0 / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00119/0.3124, allocations: 0.7519 MB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3124, allocations: 8.031 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.3126, allocations: 78.72 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.3127, allocations: 56.59 kB / 1.173 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.3132, allocations: 356.5 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3132, allocations: 33.38 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.3133, allocations: 36.38 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.3139, allocations: 411.6 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3139, allocations: 3.938 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.314, allocations: 16 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.314, allocations: 8 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.3146, allocations: 287.8 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.3166, allocations: 1.367 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.3173, allocations: 254.8 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3176, allocations: 114.7 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3176, allocations: 7.969 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3176, allocations: 46.5 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3176, allocations: 0 / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0006661/0.3183, allocations: 295.3 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.3184, allocations: 102.8 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.3189, allocations: 409.6 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.319, allocations: 33.7 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3191, allocations: 252.2 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.3192, allocations: 75.34 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.3194, allocations: 66.02 kB / 1.177 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3195, allocations: 346.8 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.3198, allocations: 118.1 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.3202, allocations: 208.3 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.3208, allocations: 283.4 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3208, allocations: 4 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006985/0.3215, allocations: 363 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3215, allocations: 4.219 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3215, allocations: 11.94 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3216, allocations: 4 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.3218, allocations: 71.89 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3219, allocations: 4 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.3221, allocations: 59.61 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.3221, allocations: 15.98 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002671/0.3224, allocations: 196.8 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002569/0.3227, allocations: 191.9 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003141/0.323, allocations: 230.2 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.323, allocations: 4 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005777/0.3236, allocations: 317.1 kB / 1.179 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3236, allocations: 11.98 kB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3236, allocations: 0 / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.3236, allocations: 7.938 kB / 1.179 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3239, allocations: 59.92 kB / 1.179 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3239, allocations: 4 kB / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.3241, allocations: 39.81 kB / 1.179 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.3241, allocations: 16.22 kB / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.3243, allocations: 196.2 kB / 1.179 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.3244, allocations: 35.77 kB / 1.179 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.3249, allocations: 246.9 kB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3249, allocations: 4.094 kB / 1.179 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3249, allocations: 3.984 kB / 1.179 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3249, allocations: 7.984 kB / 1.179 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.3262, allocations: 0.7872 MB / 1.18 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3262, allocations: 4.156 kB / 1.18 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.3264, allocations: 43.91 kB / 1.18 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3264, allocations: 4 kB / 1.18 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3264, allocations: 4 kB / 1.18 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3265, allocations: 4 kB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3265, allocations: 0 / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.3272, allocations: 461.4 kB / 1.181 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3273, allocations: 128.8 kB / 1.181 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.3274, allocations: 16 kB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3276, allocations: 11.98 kB / 1.181 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.3276, allocations: 27.84 kB / 1.181 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3276, allocations: 4 kB / 1.181 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000312/0.328, allocations: 287.2 kB / 1.181 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.433e-06/0.328, allocations: 0 / 1.181 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006454/0.3286, allocations: 135.6 kB / 1.181 GB, free: 7.238 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.3297, allocations: 0.998 MB / 1.182 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008236/0.3305, allocations: 392 kB / 1.183 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.3305, allocations: 4 kB / 1.183 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3307, allocations: 91.83 kB / 1.183 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.3312, allocations: 78.19 kB / 1.183 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.3365, allocations: 3.424 MB / 1.186 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3369, allocations: 0.7996 MB / 1.187 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.3371, allocations: 43.27 kB / 1.187 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.3373, allocations: 131.4 kB / 1.187 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.3373, allocations: 3.938 kB / 1.187 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3687, allocations: 6.848 MB / 1.194 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.636, allocations: 8.719 kB / 1.194 GB, free: 10.35 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches