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.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.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.001144/0.001144, allocations: 100.1 kB / 15.88 MB, free: 12 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.001135/0.001135, allocations: 200 kB / 16.79 MB, free: 6.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.34/1.34, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 67.62 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2677, allocations: 157.4 MB / 1.053 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003537/0.2713, allocations: 2.354 MB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1417/0.4131, allocations: 149.7 MB / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.4134, allocations: 4 kB / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.4137, allocations: 35.66 kB / 1.201 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.4141, allocations: 79.39 kB / 1.201 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.4149, allocations: 271.2 kB / 1.202 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.4154, allocations: 403.8 kB / 1.202 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.4157, allocations: 99.97 kB / 1.202 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.4177, allocations: 258.7 kB / 1.202 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.418, allocations: 175.2 kB / 1.203 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.4181, allocations: 16 kB / 1.203 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.4187, allocations: 263.6 kB / 1.203 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.4188, allocations: 75.66 kB / 1.203 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.4189, allocations: 139.2 kB / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.4194, allocations: 347.2 kB / 1.203 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4194, allocations: 0 / 1.203 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4194, allocations: 8 kB / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.4194, allocations: 0 / 1.203 GB, free: 13.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.001485/0.4209, allocations: 0.7017 MB / 1.204 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.421, allocations: 11.97 kB / 1.204 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.424, allocations: 259.5 kB / 1.204 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.4244, allocations: 291.3 kB / 1.205 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4244, allocations: 20.56 kB / 1.205 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.4245, allocations: 32 kB / 1.205 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.426, allocations: 432.5 kB / 1.205 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.426, allocations: 4 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.4261, allocations: 8 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.4261, allocations: 11.94 kB / 1.205 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.4285, allocations: 0.5252 MB / 1.206 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.4317, allocations: 1.132 MB / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.4341, allocations: 462.3 kB / 1.207 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.4352, allocations: 232.6 kB / 1.207 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.4353, allocations: 8.375 kB / 1.207 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4353, allocations: 38.55 kB / 1.207 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/0.4353, allocations: 0 / 1.207 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.01693/0.4523, allocations: 1.724 MB / 1.209 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4524, allocations: 55.41 kB / 1.209 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.4527, allocations: 312.4 kB / 1.209 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.4528, allocations: 33.7 kB / 1.209 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4529, allocations: 168.2 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.453, allocations: 82.75 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.4532, allocations: 73.92 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4533, allocations: 346.7 kB / 1.21 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4544, allocations: 200.4 kB / 1.21 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.4555, allocations: 270.8 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.4576, allocations: 434.8 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4576, allocations: 0 / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007243/0.4649, allocations: 0.8927 MB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.4649, allocations: 9.703 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4649, allocations: 4 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.4668, allocations: 273.4 kB / 1.212 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.4673, allocations: 71.88 kB / 1.212 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.4813, allocations: 3.782 MB / 1.216 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008854/0.4822, allocations: 75.62 kB / 1.216 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.4823, allocations: 19.97 kB / 1.216 GB, free: 104 kB / 0.9669 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.0002238/0.4825, allocations: 151.8 kB / 1.216 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.4826, allocations: 27.62 kB / 1.216 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00756/0.4902, allocations: 0.9457 MB / 1.217 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4902, allocations: 4 kB / 1.217 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4902, allocations: 3.938 kB / 1.217 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4902, allocations: 3.984 kB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.4908, allocations: 428.6 kB / 1.217 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4908, allocations: 7.984 kB / 1.217 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.4913, allocations: 59.83 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.4931, allocations: 273.4 kB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.4932, allocations: 11.97 kB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.5071, allocations: 3.778 MB / 1.221 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5071, allocations: 3.984 kB / 1.221 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007353/0.5144, allocations: 0.957 MB / 1.222 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.5146, allocations: 104.7 kB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.582e-05/0.5147, allocations: 15.98 kB / 1.223 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/0.5155, allocations: 39.95 kB / 1.223 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.5156, allocations: 23.92 kB / 1.223 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.5156, allocations: 15.97 kB / 1.223 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002355/0.5159, allocations: 231 kB / 1.223 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5159, allocations: 0 / 1.223 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005952/0.5165, allocations: 115.9 kB / 1.223 GB, free: 8.543 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.000196/0.5167, allocations: 115.2 kB / 1.223 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.5194, allocations: 0.7157 MB / 1.224 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5195, allocations: 0 / 1.224 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.521, allocations: 0.4938 MB / 1.224 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/0.5217, allocations: 102.1 kB / 1.224 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.5243, allocations: 0.8195 MB / 1.225 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5246, allocations: 0.7723 MB / 1.226 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.5248, allocations: 35.42 kB / 1.226 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.5248, allocations: 0 / 1.226 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of Templates: time 0.01036/0.5352, allocations: 8.278 MB / 1.234 GB, free: 13.11 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches