Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000899/0.000899, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8903/0.8903, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 3.938 kB / 0.9506 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/2.022e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001662/0.001682, allocations: 0.6979 MB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008339/0.002516, allocations: 0.8237 MB / 0.9521 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.002553, allocations: 4 kB / 0.9521 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.002582, allocations: 3.938 kB / 0.9521 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.002643, allocations: 3.938 kB / 0.9521 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.282e-05/0.002706, allocations: 15.98 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.002786, allocations: 43.84 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.002894, allocations: 8 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.002977, allocations: 27.91 kB / 0.9522 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.003016, allocations: 15.97 kB / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.003037, allocations: 4 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.003099, allocations: 7.938 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.003117, allocations: 11.94 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.003147, allocations: 11.98 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.823e-05/0.003245, allocations: 39.88 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.00325, allocations: 0 / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.615e-06/0.003253, allocations: 0 / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.003258, allocations: 3.938 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005534/0.003811, allocations: 290.2 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.00386, allocations: 12.03 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.00389, allocations: 30.75 kB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.003911, allocations: 12.89 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.003989, allocations: 105.8 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004, allocations: 8.312 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.00401, allocations: 4.375 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.004186, allocations: 70.2 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004193, allocations: 192 / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.004205, allocations: 8.312 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.00421, allocations: 4.125 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.004352, allocations: 63.94 kB / 0.9528 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.004697, allocations: 236 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.004826, allocations: 50.55 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.004913, allocations: 44.91 kB / 0.9531 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.00493, allocations: 11.88 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.004954, allocations: 30.56 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.004955, allocations: 0 / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003313/0.005286, allocations: 125.8 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.005325, allocations: 55.41 kB / 0.9534 GB, free: 432 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.0054, allocations: 105.8 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.005413, allocations: 29.7 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.005462, allocations: 88.14 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.005482, allocations: 7.906 kB / 0.9536 GB, free: 180 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.005512, allocations: 21.7 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003112/0.005823, allocations: 310.8 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.005903, allocations: 31.97 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.00597, allocations: 39.88 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.006111, allocations: 72.78 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006113, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001672/0.00628, allocations: 97.56 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.006296, allocations: 4 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.006302, allocations: 4 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.006317, allocations: 0 / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.006409, allocations: 19.98 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.006414, allocations: 3.938 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.006449, allocations: 11.98 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.006456, allocations: 0 / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.842e-05/0.006514, allocations: 113.8 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.006527, allocations: 11.89 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.006552, allocations: 12 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006554, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.006559, allocations: 4 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006562, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.006669, allocations: 132.8 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.00667, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.00671, allocations: 19.91 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006712, allocations: 3.938 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.006718, allocations: 4 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006719, allocations: 0 / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00672, allocations: 0 / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.006906, allocations: 191.4 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.006914, allocations: 7.938 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006925, allocations: 7.922 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.006978, allocations: 15.98 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.007014, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.007018, allocations: 4 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.007051, allocations: 95.58 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007051, allocations: 0 / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001374/0.007188, allocations: 7.938 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * 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.0003664/0.007554, allocations: 0.7319 MB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.007739, allocations: 71.86 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.00774, allocations: 0 / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.007811, allocations: 31.97 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.008059, allocations: 7.984 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.00843, allocations: 146.9 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.178e-05/0.008481, allocations: 75.27 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.008508, allocations: 4 kB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.00855, allocations: 16.44 kB / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.00855, allocations: 0 / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.02374, allocations: 2.329 MB / 0.9581 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.621, allocations: 0 / 0.9581 GB, free: 11.5 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.765202875249088]