Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_11_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.005475/0.005475, 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.002082/0.002082, allocations: 194.8 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.503/2.503, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 64.12 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2572, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001773/0.259, allocations: 0.8145 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2603, allocations: 1.158 MB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.2604, allocations: 4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.2604, allocations: 3.938 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.349e-05/0.2605, allocations: 19.8 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.2609, allocations: 142.9 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.2611, allocations: 143.7 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2612, allocations: 43.92 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.2613, allocations: 55.84 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.2614, allocations: 59.78 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.2614, allocations: 16 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.2615, allocations: 27.98 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.2615, allocations: 15.94 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.2616, allocations: 47.84 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.2618, allocations: 155.5 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2618, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2618, allocations: 4 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2618, allocations: 3.938 kB / 1.223 GB, free: 11.61 MB / 0.9825 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.0005736/0.2624, allocations: 432.8 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.2624, allocations: 8.031 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.2625, allocations: 38.73 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.2625, allocations: 16.83 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2626, allocations: 172.3 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2627, allocations: 8.375 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2627, allocations: 12.38 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.2629, allocations: 90.2 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2629, allocations: 3.938 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2629, allocations: 7.922 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.2629, allocations: 0 / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.2631, allocations: 59.95 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.2636, allocations: 380.6 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.2638, allocations: 50.55 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.2639, allocations: 36.86 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.2639, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.2641, allocations: 91.31 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2641, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003792/0.2645, allocations: 121.6 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2646, allocations: 59.41 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2647, allocations: 137.6 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2647, allocations: 29.7 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.2648, allocations: 104.1 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2648, allocations: 11.91 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.2649, allocations: 33.7 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.265, allocations: 322.8 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2651, allocations: 51.95 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.2653, allocations: 79.41 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2656, allocations: 120.2 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2656, allocations: 0 / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003919/0.266, allocations: 195.3 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.266, allocations: 37.69 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.266, allocations: 0 / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.266, allocations: 4 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.2661, allocations: 8.25 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2661, allocations: 11.92 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.2663, allocations: 39.95 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.2664, allocations: 12 kB / 1.225 GB, free: 8.594 MB / 0.9825 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 8.642e-05/0.2665, allocations: 121.6 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.2665, allocations: 3.953 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.2665, allocations: 16.36 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2665, allocations: 96 / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2665, allocations: 7.875 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2665, allocations: 0 / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.2667, allocations: 189.6 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2667, allocations: 3.984 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.2667, allocations: 11.94 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2668, allocations: 4 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2668, allocations: 0 / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2668, allocations: 3.984 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2668, allocations: 3.938 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.267, allocations: 121 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.2671, allocations: 93.05 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2671, allocations: 0 / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.2672, allocations: 15.98 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.2672, allocations: 11.92 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2672, allocations: 0 / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.2673, allocations: 103.6 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2673, allocations: 0 / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001953/0.2675, allocations: 20 kB / 1.226 GB, free: 7.777 MB / 0.9825 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.0005437/0.2681, allocations: 0.6676 MB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.2684, allocations: 167.3 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2684, allocations: 4.125 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.2685, allocations: 40.16 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2688, allocations: 14.09 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2706, allocations: 1.614 MB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.2709, allocations: 0.6923 MB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.009e-05/0.2709, allocations: 7.984 kB / 1.229 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.271, allocations: 19.44 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.271, allocations: 4 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6924/0.9633, allocations: 2.794 MB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.152/10.12, allocations: 17.31 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches