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.001091/0.001091, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 189.1 kB / 16.92 MB, free: 6.746 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.601/1.601, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.000337, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7404, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004255/0.7447, allocations: 1.894 MB / 0.9575 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.219/0.9637, allocations: 146.7 MB / 1.101 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.9641, allocations: 0 / 1.101 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.9652, allocations: 0.7758 MB / 1.102 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008467/0.9661, allocations: 474.8 kB / 1.102 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.9673, allocations: 353.8 kB / 1.102 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.968, allocations: 0.5459 MB / 1.103 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.9682, allocations: 68.73 kB / 1.103 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.9698, allocations: 340.7 kB / 1.103 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.9704, allocations: 451.8 kB / 1.104 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.9705, allocations: 8 kB / 1.104 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006848/0.9712, allocations: 295.5 kB / 1.104 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.9714, allocations: 179.6 kB / 1.104 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.9716, allocations: 263.7 kB / 1.104 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.9723, allocations: 0.5243 MB / 1.105 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9723, allocations: 7.984 kB / 1.105 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9723, allocations: 0 / 1.105 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.9723, allocations: 0 / 1.105 GB, free: 6.062 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.00159/0.9739, allocations: 0.9602 MB / 1.106 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.974, allocations: 8.031 kB / 1.106 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.9756, allocations: 194.8 kB / 1.106 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.9762, allocations: 494.6 kB / 1.107 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.9763, allocations: 16.38 kB / 1.107 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-05/0.9763, allocations: 20 kB / 1.107 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.9773, allocations: 330.9 kB / 1.107 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9773, allocations: 0 / 1.107 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.9773, allocations: 12 kB / 1.107 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.9773, allocations: 4 kB / 1.107 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.9786, allocations: 340.6 kB / 1.107 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.9808, allocations: 1.113 MB / 1.108 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.982, allocations: 397.4 kB / 1.109 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/0.9827, allocations: 210.9 kB / 1.109 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.9827, allocations: 11.98 kB / 1.109 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008581/0.9836, allocations: 304.7 kB / 1.109 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.9836, allocations: 0 / 1.109 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.008988/0.9926, allocations: 1.203 MB / 1.11 GB, free: 264 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.9927, allocations: 81.11 kB / 1.11 GB, free: 164 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.9942, allocations: 1.349 MB / 1.112 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.9943, allocations: 33.7 kB / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.9946, allocations: 360.5 kB / 1.112 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.9947, allocations: 102.6 kB / 1.112 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.9948, allocations: 29.7 kB / 1.112 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9949, allocations: 318 kB / 1.113 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.9956, allocations: 167.9 kB / 1.113 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.9963, allocations: 229.7 kB / 1.113 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.9976, allocations: 402 kB / 1.113 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9976, allocations: 0 / 1.113 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004182/1.002, allocations: 0.7051 MB / 1.114 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.002, allocations: 8 kB / 1.114 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.002, allocations: 0 / 1.114 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/1.003, allocations: 184.5 kB / 1.114 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/1.003, allocations: 63.91 kB / 1.114 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/1.011, allocations: 2.115 MB / 1.116 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/1.012, allocations: 31.83 kB / 1.116 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/1.012, allocations: 19.98 kB / 1.116 GB, free: 9.867 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.0004218/1.012, allocations: 298.2 kB / 1.117 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/1.012, allocations: 78.97 kB / 1.117 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/1.017, allocations: 0.7443 MB / 1.117 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/1.017, allocations: 4 kB / 1.117 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.017, allocations: 0 / 1.117 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.017, allocations: 7.984 kB / 1.117 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007528/1.017, allocations: 0.57 MB / 1.118 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.017, allocations: 4 kB / 1.118 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/1.018, allocations: 51.91 kB / 1.118 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.019, allocations: 180.6 kB / 1.118 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/1.019, allocations: 11.98 kB / 1.118 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007462/1.026, allocations: 2.115 MB / 1.12 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.026, allocations: 0 / 1.12 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/1.031, allocations: 0.7466 MB / 1.121 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/1.031, allocations: 155.9 kB / 1.121 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.031, allocations: 7.984 kB / 1.121 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/1.032, allocations: 27.98 kB / 1.121 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/1.032, allocations: 23.97 kB / 1.121 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/1.032, allocations: 23.97 kB / 1.121 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001123/1.033, allocations: 0.9988 MB / 1.122 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/1.033, allocations: 3.938 kB / 1.122 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005589/1.033, allocations: 111.9 kB / 1.122 GB, free: 3.48 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.001144/1.035, allocations: 441.8 kB / 1.123 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.036, allocations: 0.5407 MB / 1.123 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.036, allocations: 0 / 1.123 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.037, allocations: 366.4 kB / 1.124 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/1.038, allocations: 123.1 kB / 1.124 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/1.041, allocations: 1.839 MB / 1.126 GB, free: 288 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/1.042, allocations: 0.9684 MB / 1.127 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/1.042, allocations: 47.41 kB / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/1.042, allocations: 0 / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of Templates: time 0.01847/1.061, allocations: 10.96 MB / 1.137 GB, free: 4.281 MB / 0.8887 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 -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