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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 107.4 kB / 16.36 MB, free: 5.824 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.001108/0.001108, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.59 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2878, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002035/0.2898, allocations: 0.8147 MB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2912, allocations: 1.157 MB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.2913, allocations: 0 / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.2914, allocations: 3.938 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.2914, allocations: 23.8 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.292, allocations: 141.5 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.2921, allocations: 147.7 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2923, allocations: 43.95 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.992e-05/0.2924, allocations: 55.78 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2925, allocations: 63.78 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.2926, allocations: 12 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.2926, allocations: 24 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.2927, allocations: 19.92 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.2928, allocations: 55.84 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2929, allocations: 155.5 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.293, allocations: 3.938 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/0.293, allocations: 0 / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.293, allocations: 0 / 1.021 GB, free: 7.129 MB / 0.795 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.0006093/0.2936, allocations: 428.9 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2936, allocations: 16.86 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.2937, allocations: 8.844 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2938, allocations: 180.2 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2938, allocations: 8.375 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.2939, allocations: 8.375 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.2941, allocations: 82.72 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2941, allocations: 4.172 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2941, allocations: 7.938 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2941, allocations: 4 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.2943, allocations: 59.88 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.2949, allocations: 376.6 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.295, allocations: 54.48 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.2951, allocations: 32.94 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2952, allocations: 3.938 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.2954, allocations: 87.34 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2954, allocations: 0 / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0004062/0.2958, allocations: 129.5 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.2959, allocations: 55.41 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.296, allocations: 137.6 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.296, allocations: 29.7 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.2961, allocations: 96.05 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2961, allocations: 15.8 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.2962, allocations: 33.7 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2963, allocations: 322.8 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2965, allocations: 47.97 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2966, allocations: 83.39 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.2969, allocations: 116.2 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2969, allocations: 0 / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003898/0.2973, allocations: 203.2 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.2973, allocations: 29.7 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2974, allocations: 4 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2974, allocations: 320 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.2975, allocations: 7.984 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2975, allocations: 4 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2977, allocations: 48.05 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2977, allocations: 11.94 kB / 1.024 GB, free: 4.176 MB / 0.795 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 9.675e-05/0.2978, allocations: 131 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.2978, allocations: 3.906 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.2979, allocations: 12.38 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2979, allocations: 0 / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2979, allocations: 0 / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2979, allocations: 3.938 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.298, allocations: 193.6 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.298, allocations: 0 / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.2981, allocations: 11.98 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2981, allocations: 3.938 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2981, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2981, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2981, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2984, allocations: 136.9 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.2984, allocations: 81.02 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.2985, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.2985, allocations: 15.98 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.2986, allocations: 11.92 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.2986, allocations: 4 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.2987, allocations: 95.7 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2987, allocations: 0 / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002191/0.2989, allocations: 24.12 kB / 1.025 GB, free: 3.367 MB / 0.795 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.0001406/0.299, allocations: 107.2 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.2994, allocations: 175.3 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2994, allocations: 0 / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.2995, allocations: 31.98 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.2998, allocations: 20.17 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.3001, allocations: 171.4 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3004, allocations: 0.6885 MB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.44e-05/0.3004, allocations: 7.984 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.3005, allocations: 11.44 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.3005, allocations: 4 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of Templates: time 0.004171/0.3047, allocations: 1.648 MB / 1.028 GB, free: 468 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (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 & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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