Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_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.006079/0.006079, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00146/0.00146, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.38/2.38, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.84 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7893, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001938/0.7913, allocations: 0.815 MB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.7929, allocations: 1.155 MB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.793, allocations: 0 / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.7931, allocations: 7.875 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/0.7932, allocations: 7.875 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.7938, allocations: 151.3 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.794, allocations: 151.7 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.7942, allocations: 31.98 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.7943, allocations: 59.83 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.7944, allocations: 59.8 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.7944, allocations: 12 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.7945, allocations: 27.98 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.7946, allocations: 12 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.7947, allocations: 59.77 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.7949, allocations: 149.7 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7949, allocations: 0 / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7949, allocations: 8 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.7949, allocations: 0 / 1.169 GB, free: 1.082 MB / 0.8887 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.0006654/0.7956, allocations: 432.9 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.7957, allocations: 8.922 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.7957, allocations: 46.73 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.7958, allocations: 8.844 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.7959, allocations: 176.2 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.7959, allocations: 12.38 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.796, allocations: 16.31 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.7962, allocations: 86.19 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.7962, allocations: 3.938 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.7962, allocations: 0 / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.7962, allocations: 4 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.7965, allocations: 55.95 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.797, allocations: 384.5 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.7972, allocations: 50.55 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/0.7973, allocations: 32.92 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.7973, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.7976, allocations: 91.22 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.7976, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004189/0.798, allocations: 121.6 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.7981, allocations: 55.34 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.7982, allocations: 133.7 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.7982, allocations: 37.64 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.7983, allocations: 100 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.7983, allocations: 19.73 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.7984, allocations: 37.7 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7985, allocations: 318.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.7987, allocations: 51.91 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.7989, allocations: 83.39 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.7991, allocations: 108.2 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7991, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004291/0.7996, allocations: 195.3 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.7996, allocations: 45.62 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7996, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7997, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.7998, allocations: 8 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.7998, allocations: 7.922 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.8, allocations: 39.86 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.8, allocations: 12 kB / 1.171 GB, free: 14.07 MB / 0.9044 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 0.0001142/0.8001, allocations: 119.1 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.8002, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.8002, allocations: 12.36 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8002, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8002, allocations: 4.25 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8002, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.8004, allocations: 189.5 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8004, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.8005, allocations: 23.92 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8005, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.8005, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8005, allocations: 3.984 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.8005, allocations: 3.938 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.8008, allocations: 121 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.8009, allocations: 89 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.8009, allocations: 4 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.801, allocations: 7.984 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.801, allocations: 15.92 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.801, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.8011, allocations: 91.27 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8011, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002399/0.8014, allocations: 32.03 kB / 1.172 GB, free: 13.27 MB / 0.9044 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.0005647/0.8019, allocations: 0.6671 MB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.8023, allocations: 175.2 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8023, allocations: 4.125 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.8025, allocations: 35.97 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.8027, allocations: 20 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.8047, allocations: 1.594 MB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.8051, allocations: 0.6885 MB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.262e-05/0.8051, allocations: 11.97 kB / 1.175 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.8052, allocations: 23.44 kB / 1.175 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of SimCode: time 7.72e-07/0.8052, allocations: 4 kB / 1.175 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.8262, allocations: 2.825 MB / 1.178 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/9.232, allocations: 6.688 kB / 1.178 GB, free: 7.203 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches