Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 106.7 kB / 16.37 MB, free: 6.473 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.00137/0.00137, allocations: 194.6 kB / 17.31 MB, free: 5.828 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.75 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2424, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003492/0.246, allocations: 2.192 MB / 0.9533 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6161/0.8621, allocations: 150.5 MB / 1.1 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.8623, allocations: 10.64 kB / 1.1 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.8633, allocations: 0.7707 MB / 1.101 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.8642, allocations: 499.3 kB / 1.102 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009281/0.8651, allocations: 399.4 kB / 1.102 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.8658, allocations: 0.5669 MB / 1.102 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.866, allocations: 83.14 kB / 1.103 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.867, allocations: 370.9 kB / 1.103 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.8675, allocations: 469 kB / 1.103 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.8676, allocations: 26.91 kB / 1.103 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.8682, allocations: 297.7 kB / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.8684, allocations: 190.5 kB / 1.104 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.8686, allocations: 262.5 kB / 1.104 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009236/0.8695, allocations: 0.7376 MB / 1.105 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8695, allocations: 4 kB / 1.105 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8696, allocations: 0 / 1.105 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.8696, allocations: 1.094 kB / 1.105 GB, free: 5.723 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001719/0.8713, allocations: 1.079 MB / 1.106 GB, free: 21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.8713, allocations: 9.469 kB / 1.106 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.8728, allocations: 193.4 kB / 1.106 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.8734, allocations: 497.6 kB / 1.107 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.8734, allocations: 20.56 kB / 1.107 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.8735, allocations: 16.14 kB / 1.107 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00087/0.8743, allocations: 334.5 kB / 1.107 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.8744, allocations: 8.953 kB / 1.107 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.8744, allocations: 6.953 kB / 1.107 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.8744, allocations: 4.469 kB / 1.107 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.8757, allocations: 342.8 kB / 1.107 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.8778, allocations: 1.104 MB / 1.108 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000983/0.8788, allocations: 398.8 kB / 1.109 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.8794, allocations: 205.6 kB / 1.109 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.8794, allocations: 9.953 kB / 1.109 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007553/0.8802, allocations: 317.1 kB / 1.109 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.8802, allocations: 0 / 1.109 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.00812/0.8883, allocations: 1.217 MB / 1.11 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.8884, allocations: 81.22 kB / 1.11 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.8899, allocations: 1.341 MB / 1.112 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.8899, allocations: 36.05 kB / 1.112 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.8902, allocations: 365.1 kB / 1.112 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.8903, allocations: 97.75 kB / 1.112 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.8904, allocations: 72.56 kB / 1.112 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8906, allocations: 320.8 kB / 1.113 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.8912, allocations: 171.8 kB / 1.113 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.8918, allocations: 235.6 kB / 1.113 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.893, allocations: 389.6 kB / 1.113 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.893, allocations: 3.938 kB / 1.113 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003644/0.8967, allocations: 0.7146 MB / 1.114 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8967, allocations: 8.25 kB / 1.114 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8967, allocations: 1.25 kB / 1.114 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/0.8977, allocations: 182.3 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.898, allocations: 61.36 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007061/0.9051, allocations: 2.304 MB / 1.117 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.9056, allocations: 44.28 kB / 1.117 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.9057, allocations: 17.94 kB / 1.117 GB, free: 17.3 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004673/0.9062, allocations: 296.8 kB / 1.117 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.9063, allocations: 85.08 kB / 1.117 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.9099, allocations: 0.7507 MB / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9099, allocations: 5.938 kB / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.9099, allocations: 0 / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9099, allocations: 9.562 kB / 1.118 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.9105, allocations: 0.5735 MB / 1.118 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9105, allocations: 2.156 kB / 1.118 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.9108, allocations: 48.77 kB / 1.118 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008568/0.9116, allocations: 175.6 kB / 1.119 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.9117, allocations: 13.86 kB / 1.119 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006822/0.9185, allocations: 2.29 MB / 1.121 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.9185, allocations: 11.59 kB / 1.121 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.9221, allocations: 0.7549 MB / 1.122 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.9222, allocations: 148.4 kB / 1.122 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.9223, allocations: 16.44 kB / 1.122 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.9227, allocations: 27.69 kB / 1.122 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.9228, allocations: 25.03 kB / 1.122 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.9228, allocations: 18.39 kB / 1.122 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009608/0.9238, allocations: 0.9978 MB / 1.123 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9238, allocations: 0 / 1.123 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005004/0.9243, allocations: 113.7 kB / 1.123 GB, free: 15.03 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008988/0.9252, allocations: 446.7 kB / 1.123 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.9267, allocations: 0.5463 MB / 1.124 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9267, allocations: 2.547 kB / 1.124 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008386/0.9276, allocations: 359.7 kB / 1.124 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.9282, allocations: 123.8 kB / 1.124 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.9302, allocations: 1.577 MB / 1.126 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.9307, allocations: 0.9673 MB / 1.127 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002725/0.931, allocations: 87.52 kB / 1.127 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.9311, allocations: 42.12 kB / 1.127 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of SimCode: time 8.61e-07/0.9311, allocations: 0 / 1.127 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.01474/0.9459, allocations: 10.21 MB / 1.137 GB, free: 12.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches