Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_10_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_10_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.001852/0.001852, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001802/0.001802, allocations: 195.6 kB / 16.14 MB, free: 6.641 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6631, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003726/0.6669, allocations: 2.256 MB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1768/0.8437, allocations: 148.3 MB / 1.164 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.844, allocations: 7.938 kB / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.845, allocations: 0.7641 MB / 1.164 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006978/0.8457, allocations: 478.7 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.8467, allocations: 354.5 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.8474, allocations: 0.5497 MB / 1.166 GB, free: 9.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.8476, allocations: 76.66 kB / 1.166 GB, free: 9.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.8491, allocations: 332.1 kB / 1.166 GB, free: 9.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005222/0.8497, allocations: 467.7 kB / 1.167 GB, free: 8.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.8497, allocations: 19.94 kB / 1.167 GB, free: 8.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.8504, allocations: 287.5 kB / 1.167 GB, free: 8.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.8506, allocations: 187.7 kB / 1.167 GB, free: 8.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.8508, allocations: 246 kB / 1.167 GB, free: 7.973 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.8517, allocations: 0.7103 MB / 1.168 GB, free: 7.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8517, allocations: 0 / 1.168 GB, free: 7.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.71e-07/0.8517, allocations: 0 / 1.168 GB, free: 7.262 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.8517, allocations: 0 / 1.168 GB, free: 7.262 MB / 0.92 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.001675/0.8534, allocations: 1.076 MB / 1.169 GB, free: 6.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8534, allocations: 8.031 kB / 1.169 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.8551, allocations: 190.8 kB / 1.169 GB, free: 5.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.8557, allocations: 494.7 kB / 1.17 GB, free: 5.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.8557, allocations: 12.38 kB / 1.17 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.8558, allocations: 20 kB / 1.17 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.8568, allocations: 334.9 kB / 1.17 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8568, allocations: 0 / 1.17 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.8569, allocations: 11.98 kB / 1.17 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8569, allocations: 7.938 kB / 1.17 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.8583, allocations: 340.7 kB / 1.17 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.8605, allocations: 1.112 MB / 1.171 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.8617, allocations: 397.4 kB / 1.172 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.8624, allocations: 205.6 kB / 1.172 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.8625, allocations: 7.984 kB / 1.172 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009406/0.8635, allocations: 312.7 kB / 1.172 GB, free: 2.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.8635, allocations: 0 / 1.172 GB, free: 2.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.009524/0.873, allocations: 1.218 MB / 1.173 GB, free: 1.324 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.8731, allocations: 85.09 kB / 1.174 GB, free: 1.223 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.8746, allocations: 1.345 MB / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.8746, allocations: 29.7 kB / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.8749, allocations: 368.4 kB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.8751, allocations: 98.64 kB / 1.175 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.8752, allocations: 65.67 kB / 1.175 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8753, allocations: 318 kB / 1.176 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/0.876, allocations: 171.9 kB / 1.176 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007169/0.8767, allocations: 231 kB / 1.176 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.8781, allocations: 408 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8782, allocations: 0 / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004252/0.8824, allocations: 0.7118 MB / 1.177 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8824, allocations: 11.98 kB / 1.177 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.8825, allocations: 0 / 1.177 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.8835, allocations: 176.7 kB / 1.177 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.8839, allocations: 59.89 kB / 1.177 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008027/0.8919, allocations: 2.123 MB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.8925, allocations: 39.84 kB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.8926, allocations: 19.97 kB / 1.18 GB, free: 10.87 MB / 0.9356 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.000404/0.893, allocations: 294.3 kB / 1.18 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.8931, allocations: 86.95 kB / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.8975, allocations: 0.7444 MB / 1.181 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.8976, allocations: 0 / 1.181 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.8976, allocations: 4 kB / 1.181 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.8976, allocations: 7.922 kB / 1.181 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.8983, allocations: 0.5816 MB / 1.181 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8983, allocations: 4 kB / 1.181 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.8986, allocations: 51.91 kB / 1.181 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.8998, allocations: 180.6 kB / 1.181 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.8998, allocations: 12.05 kB / 1.181 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007562/0.9074, allocations: 2.111 MB / 1.184 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9074, allocations: 0 / 1.184 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.9117, allocations: 0.7668 MB / 1.184 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.9118, allocations: 144 kB / 1.184 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.9119, allocations: 11.98 kB / 1.184 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.9124, allocations: 23.98 kB / 1.184 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.9125, allocations: 31.95 kB / 1.184 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.9125, allocations: 15.98 kB / 1.185 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001127/0.9137, allocations: 0.9988 MB / 1.185 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9137, allocations: 0 / 1.185 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005565/0.9142, allocations: 115.8 kB / 1.186 GB, free: 4.469 MB / 0.9356 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.001735/0.916, allocations: 443.7 kB / 1.186 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.9186, allocations: 0.5453 MB / 1.187 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9186, allocations: 0 / 1.187 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.9201, allocations: 359.2 kB / 1.187 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.9211, allocations: 109.3 kB / 1.187 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.9255, allocations: 1.786 MB / 1.189 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009031/0.9265, allocations: 0.9684 MB / 1.19 GB, free: 348 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005947/0.9271, allocations: 78.88 kB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.9273, allocations: 43.41 kB / 1.19 GB, free: 228 kB / 0.9356 GB Notification: Performance of SimCode: time 1.313e-06/0.9273, allocations: 0 / 1.19 GB, free: 228 kB / 0.9356 GB Notification: Performance of Templates: time 0.02788/0.9552, allocations: 9.83 MB / 1.199 GB, free: 6.445 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches