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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007258/0.007258, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001672/0.001672, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2456, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001955/0.2476, allocations: 0.7951 MB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2491, allocations: 1.157 MB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.2491, allocations: 0 / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.2492, allocations: 11.86 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.2493, allocations: 15.88 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.2498, allocations: 141.2 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.25, allocations: 147.8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2502, allocations: 39.95 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.2503, allocations: 55.83 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2504, allocations: 59.81 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.2504, allocations: 12 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.658e-05/0.2505, allocations: 31.92 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.2506, allocations: 23.91 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.2507, allocations: 59.72 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.2509, allocations: 154.4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2509, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2509, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2509, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 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.0006178/0.2515, allocations: 429.8 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2516, allocations: 8.031 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.2516, allocations: 38.75 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.2517, allocations: 12.84 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2518, allocations: 184.1 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2518, allocations: 8.375 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.2518, allocations: 8.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.2521, allocations: 82.2 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2521, allocations: 3.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2521, allocations: 11.94 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2521, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.2523, allocations: 59.95 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.2529, allocations: 380.5 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.253, allocations: 58.55 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.2531, allocations: 28.88 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2531, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.2534, allocations: 87.36 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2534, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004201/0.2538, allocations: 125.5 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.2539, allocations: 59.34 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.254, allocations: 129.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.254, allocations: 29.7 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.2541, allocations: 100 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.2541, allocations: 15.89 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.2542, allocations: 33.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2543, allocations: 322.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.2545, allocations: 51.97 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.2547, allocations: 79.39 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.2549, allocations: 124.2 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.255, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000407/0.2554, allocations: 191.2 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.2554, allocations: 33.7 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2554, allocations: 96 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2554, allocations: 3.938 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.2555, allocations: 16.05 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2556, allocations: 3.938 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2558, allocations: 47.8 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2558, allocations: 7.984 kB / 1.093 GB, free: 12.35 MB / 0.8575 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.0001028/0.2559, allocations: 117.8 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.2559, allocations: 7.938 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.256, allocations: 12.38 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.256, allocations: 3.938 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.256, allocations: 7.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.256, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.2562, allocations: 197.6 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2562, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.2562, allocations: 7.984 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2562, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.2563, allocations: 320 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2563, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2563, allocations: 11.94 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.2565, allocations: 121 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.2566, allocations: 81.02 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2566, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.2567, allocations: 11.98 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.2568, allocations: 19.86 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.2568, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.2568, allocations: 95.27 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2568, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002225/0.2571, allocations: 24 kB / 1.093 GB, free: 11.54 MB / 0.8575 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.0005556/0.2576, allocations: 0.6672 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.258, allocations: 167.3 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.258, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.2581, allocations: 39.97 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2584, allocations: 21.23 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.2604, allocations: 1.594 MB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2607, allocations: 0.6924 MB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.2607, allocations: 7.75 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.2608, allocations: 23.42 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.2608, allocations: 3.938 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.2817, allocations: 2.858 MB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.434, allocations: 16.5 kB / 1.099 GB, free: 5.418 MB / 0.8575 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