Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000813/0.000813, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004914/0.004914, allocations: 173.9 kB / 16.27 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.367/1.367, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 8.969 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3029, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002791/0.3057, allocations: 1.992 MB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.4628, allocations: 148.1 MB / 1.205 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.4631, allocations: 7.938 kB / 1.205 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.4632, allocations: 35.64 kB / 1.205 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.4636, allocations: 79.39 kB / 1.205 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.4642, allocations: 271.2 kB / 1.206 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.4646, allocations: 407.8 kB / 1.206 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.4648, allocations: 96 kB / 1.206 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.4667, allocations: 241.2 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.4669, allocations: 163.2 kB / 1.206 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.467, allocations: 12 kB / 1.207 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.4675, allocations: 259.6 kB / 1.207 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.4676, allocations: 59.73 kB / 1.207 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.4677, allocations: 164.9 kB / 1.207 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.4682, allocations: 470.4 kB / 1.207 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4682, allocations: 4 kB / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4682, allocations: 0 / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4682, allocations: 0 / 1.207 GB, free: 12.59 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001313/0.4696, allocations: 0.6512 MB / 1.208 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4696, allocations: 8.031 kB / 1.208 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.4724, allocations: 263.5 kB / 1.208 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.4728, allocations: 299.2 kB / 1.209 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.4728, allocations: 20.56 kB / 1.209 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.4729, allocations: 27.98 kB / 1.209 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4743, allocations: 432.5 kB / 1.209 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4743, allocations: 0 / 1.209 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.4744, allocations: 8 kB / 1.209 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.4744, allocations: 15.94 kB / 1.209 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.4767, allocations: 0.533 MB / 1.21 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/0.4797, allocations: 1.143 MB / 1.211 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.4819, allocations: 458.4 kB / 1.211 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.483, allocations: 236.6 kB / 1.211 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.483, allocations: 4.391 kB / 1.211 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4831, allocations: 42.55 kB / 1.211 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/0.4831, allocations: 0 / 1.211 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.01597/0.4991, allocations: 1.716 MB / 1.213 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.4991, allocations: 55.41 kB / 1.213 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.4995, allocations: 300.6 kB / 1.213 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.4996, allocations: 29.7 kB / 1.213 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4997, allocations: 172.2 kB / 1.214 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.4998, allocations: 86.73 kB / 1.214 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.4999, allocations: 29.7 kB / 1.214 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5, allocations: 350.7 kB / 1.214 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.501, allocations: 208.3 kB / 1.214 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.5022, allocations: 267 kB / 1.215 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.5043, allocations: 430.3 kB / 1.215 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5043, allocations: 0 / 1.215 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00701/0.5113, allocations: 0.8971 MB / 1.216 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.5114, allocations: 8 kB / 1.216 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5114, allocations: 3.938 kB / 1.216 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.5133, allocations: 285.4 kB / 1.216 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.5138, allocations: 67.88 kB / 1.216 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.5277, allocations: 3.777 MB / 1.22 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/0.5287, allocations: 75.58 kB / 1.22 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.5288, allocations: 27.95 kB / 1.22 GB, free: 15.17 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.529, allocations: 145.7 kB / 1.22 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.5291, allocations: 31.62 kB / 1.22 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007176/0.5363, allocations: 0.9464 MB / 1.221 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.5363, allocations: 0 / 1.221 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5364, allocations: 3.938 kB / 1.221 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5364, allocations: 0 / 1.221 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.537, allocations: 432.6 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.537, allocations: 0 / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.5374, allocations: 63.88 kB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.5392, allocations: 277.4 kB / 1.222 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.5392, allocations: 11.97 kB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.5528, allocations: 3.762 MB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5528, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/0.5601, allocations: 0.957 MB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.5603, allocations: 116.7 kB / 1.227 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.5604, allocations: 4 kB / 1.227 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.5611, allocations: 51.86 kB / 1.227 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5612, allocations: 27.91 kB / 1.227 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.5613, allocations: 11.98 kB / 1.227 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002443/0.5615, allocations: 227 kB / 1.227 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5615, allocations: 7.938 kB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006302/0.5622, allocations: 108 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.5624, allocations: 131.1 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002798/0.5652, allocations: 0.7274 MB / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5652, allocations: 0 / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.5668, allocations: 0.5012 MB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.5675, allocations: 101.2 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.5701, allocations: 0.7945 MB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.5704, allocations: 0.7723 MB / 1.23 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004732/0.5709, allocations: 78.88 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.571, allocations: 31.42 kB / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/0.571, allocations: 0 / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of Templates: time 0.01931/0.5904, allocations: 12.89 MB / 1.243 GB, free: 7.57 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches