Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.00106/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001082/0.001082, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.129/2.129, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.5004, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001709/0.5021, allocations: 0.859 MB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.5031, allocations: 1.167 MB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.5031, allocations: 1.375 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.5032, allocations: 3.938 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.5032, allocations: 13.28 kB / 0.951 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.5036, allocations: 123 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.5037, allocations: 132.1 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.5038, allocations: 32.34 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.5038, allocations: 55.2 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.5039, allocations: 44.2 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.5039, allocations: 7.344 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.124e-05/0.504, allocations: 22.59 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.504, allocations: 22.7 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.5041, allocations: 42.56 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.5042, allocations: 143.7 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5043, allocations: 0 / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.72e-07/0.5043, allocations: 3.938 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5043, allocations: 1.281 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004534/0.5047, allocations: 436.8 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.5048, allocations: 9.594 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.232e-05/0.5048, allocations: 44.97 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.5048, allocations: 15.98 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.659e-05/0.5049, allocations: 168.2 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5049, allocations: 8.281 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.505, allocations: 12.27 kB / 0.9523 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.5052, allocations: 84.86 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.5052, allocations: 3.938 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.5052, allocations: 1.469 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5052, allocations: 1.094 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.5054, allocations: 64.08 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.5058, allocations: 374.9 kB / 0.9528 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.5059, allocations: 63.17 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.506, allocations: 26.97 kB / 0.9529 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.506, allocations: 1.344 kB / 0.9529 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.5062, allocations: 85.11 kB / 0.953 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5062, allocations: 0 / 0.953 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000365/0.5066, allocations: 134.5 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.5066, allocations: 52.53 kB / 0.9532 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.5067, allocations: 133.2 kB / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.5067, allocations: 28.86 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.5068, allocations: 105.6 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.5068, allocations: 17.08 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.5068, allocations: 41.33 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.5069, allocations: 322.2 kB / 0.9538 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.507, allocations: 45.41 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.5072, allocations: 82.73 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.5074, allocations: 127.5 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5074, allocations: 1.438 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003498/0.5078, allocations: 191.5 kB / 0.9542 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5078, allocations: 37.48 kB / 0.9542 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5078, allocations: 0 / 0.9542 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.5078, allocations: 1.438 kB / 0.9542 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.5079, allocations: 14.8 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5079, allocations: 4.781 kB / 0.9543 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.5081, allocations: 34.95 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.5081, allocations: 16.95 kB / 0.9543 GB, free: 4.641 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.905e-05/0.5082, allocations: 117.4 kB / 0.9544 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.5082, allocations: 10.78 kB / 0.9544 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.5083, allocations: 10.25 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5083, allocations: 1.344 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5083, allocations: 7.922 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5083, allocations: 0 / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.007e-05/0.5084, allocations: 185.3 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5084, allocations: 1.031 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.5084, allocations: 8.984 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5084, allocations: 1.219 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.5085, allocations: 4 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5085, allocations: 5.25 kB / 0.9547 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5085, allocations: 3.938 kB / 0.9547 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.5087, allocations: 126.3 kB / 0.9548 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.5087, allocations: 79.36 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.5087, allocations: 9.016 kB / 0.9549 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.5088, allocations: 5.594 kB / 0.9549 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.5089, allocations: 25.38 kB / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.5089, allocations: 6.328 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.5089, allocations: 92.05 kB / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.52e-07/0.5089, allocations: 1.156 kB / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002128/0.5091, allocations: 37.06 kB / 0.955 GB, free: 3.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000373/0.5095, allocations: 0.6617 MB / 0.9557 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.5098, allocations: 166.2 kB / 0.9558 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5098, allocations: 0 / 0.9558 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.51, allocations: 41.5 kB / 0.9559 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.5101, allocations: 18.75 kB / 0.9559 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5116, allocations: 1.605 MB / 0.9574 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.5117, allocations: 0.6918 MB / 0.9581 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.5117, allocations: 3.094 kB / 0.9581 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.5118, allocations: 29.92 kB / 0.9582 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5118, allocations: 1.438 kB / 0.9582 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.005/2.517, allocations: 2.494 MB / 0.9606 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/2.517, allocations: 218.2 kB / 0.9608 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/4.131, allocations: 0 / 0.9608 GB, free: 15.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches