Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00134/0.00134, allocations: 92.08 kB / 16.02 MB, free: 80 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.001525/0.001525, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.723/2.723, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 7.594 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2655, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002671/0.2682, allocations: 1.902 MB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1532/0.4214, allocations: 146.7 MB / 1.204 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.4218, allocations: 7.938 kB / 1.204 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4228, allocations: 0.7642 MB / 1.205 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007569/0.4236, allocations: 482.8 kB / 1.206 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.4246, allocations: 346.1 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007224/0.4253, allocations: 0.542 MB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.4255, allocations: 72.72 kB / 1.207 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.4271, allocations: 329.8 kB / 1.207 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.4277, allocations: 459.7 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.4277, allocations: 12 kB / 1.207 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.4285, allocations: 287.6 kB / 1.208 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.4287, allocations: 175.7 kB / 1.208 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.429, allocations: 267.7 kB / 1.208 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.4297, allocations: 0.5149 MB / 1.208 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4297, allocations: 0 / 1.208 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4297, allocations: 0 / 1.208 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.4297, allocations: 0 / 1.208 GB, free: 11.63 MB / 0.9669 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.001525/0.4312, allocations: 0.9758 MB / 1.209 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4313, allocations: 11.97 kB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.4329, allocations: 198.7 kB / 1.21 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.4335, allocations: 486.8 kB / 1.21 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.4335, allocations: 16.38 kB / 1.21 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.4336, allocations: 16 kB / 1.21 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/0.4345, allocations: 338.9 kB / 1.21 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4345, allocations: 0 / 1.21 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.4345, allocations: 8 kB / 1.21 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4345, allocations: 4 kB / 1.21 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.4358, allocations: 336.7 kB / 1.211 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.438, allocations: 1.124 MB / 1.212 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4391, allocations: 398.9 kB / 1.212 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.4398, allocations: 209.6 kB / 1.212 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.4399, allocations: 11.98 kB / 1.212 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008174/0.4407, allocations: 305.2 kB / 1.213 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.4407, allocations: 0 / 1.213 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008899/0.4496, allocations: 1.21 MB / 1.214 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.4497, allocations: 77.11 kB / 1.214 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4511, allocations: 1.353 MB / 1.215 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.4511, allocations: 29.7 kB / 1.215 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.4514, allocations: 364.5 kB / 1.216 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4515, allocations: 94.66 kB / 1.216 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.4516, allocations: 29.7 kB / 1.216 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4517, allocations: 322 kB / 1.216 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.4524, allocations: 167.7 kB / 1.216 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.4531, allocations: 233.8 kB / 1.217 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.4545, allocations: 398.1 kB / 1.217 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4545, allocations: 0 / 1.217 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004208/0.4587, allocations: 0.718 MB / 1.218 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4587, allocations: 4 kB / 1.218 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4587, allocations: 0 / 1.218 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4598, allocations: 184.7 kB / 1.218 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.4602, allocations: 59.91 kB / 1.218 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007497/0.4677, allocations: 2.098 MB / 1.22 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.4683, allocations: 43.78 kB / 1.22 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.4683, allocations: 19.98 kB / 1.22 GB, free: 15.41 MB / 0.9825 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.0003598/0.4687, allocations: 298.6 kB / 1.22 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4688, allocations: 82.91 kB / 1.22 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/0.473, allocations: 0.7551 MB / 1.221 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.473, allocations: 4 kB / 1.221 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.473, allocations: 7.938 kB / 1.221 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.473, allocations: 3.984 kB / 1.221 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.4737, allocations: 0.5626 MB / 1.222 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4737, allocations: 320 / 1.222 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.474, allocations: 47.97 kB / 1.222 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.475, allocations: 180.6 kB / 1.222 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.4751, allocations: 15.98 kB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007409/0.4825, allocations: 2.107 MB / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4825, allocations: 0 / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.4867, allocations: 0.7472 MB / 1.225 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.4868, allocations: 156 kB / 1.225 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.4869, allocations: 12 kB / 1.225 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.4874, allocations: 23.97 kB / 1.225 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.4875, allocations: 19.97 kB / 1.225 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.4875, allocations: 23.97 kB / 1.225 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009905/0.4885, allocations: 1.003 MB / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4885, allocations: 0 / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005161/0.489, allocations: 119.8 kB / 1.226 GB, free: 9.012 MB / 0.9825 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.001007/0.4901, allocations: 447.5 kB / 1.226 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.4918, allocations: 0.5375 MB / 1.227 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4918, allocations: 4 kB / 1.227 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009341/0.4927, allocations: 366.4 kB / 1.227 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.4935, allocations: 106 kB / 1.227 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.496, allocations: 1.85 MB / 1.229 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.4966, allocations: 0.9684 MB / 1.23 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.4967, allocations: 43.42 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of SimCode: time 1.773e-06/0.4967, allocations: 0 / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.01605/0.5128, allocations: 10.97 MB / 1.241 GB, free: 9.812 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches