Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.000922/0.0009221, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006267/0.006267, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.561/2.561, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 12 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6876, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002525/0.6901, allocations: 1.997 MB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1568/0.847, allocations: 148.1 MB / 1.17 GB, free: 9.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.8473, allocations: 11.94 kB / 1.17 GB, free: 9.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.8475, allocations: 31.66 kB / 1.17 GB, free: 9.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.848, allocations: 83.39 kB / 1.17 GB, free: 9.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.8488, allocations: 271.2 kB / 1.17 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.8493, allocations: 403.8 kB / 1.17 GB, free: 8.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.8496, allocations: 93.69 kB / 1.17 GB, free: 8.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.8516, allocations: 249.7 kB / 1.171 GB, free: 8.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.8519, allocations: 159.3 kB / 1.171 GB, free: 7.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.8519, allocations: 12 kB / 1.171 GB, free: 7.891 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.8525, allocations: 259.6 kB / 1.171 GB, free: 7.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.8526, allocations: 59.73 kB / 1.171 GB, free: 7.578 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.8527, allocations: 160.9 kB / 1.171 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.8534, allocations: 462.5 kB / 1.172 GB, free: 6.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8534, allocations: 4 kB / 1.172 GB, free: 6.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8534, allocations: 0 / 1.172 GB, free: 6.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.8534, allocations: 0 / 1.172 GB, free: 6.957 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00141/0.8548, allocations: 0.6627 MB / 1.172 GB, free: 6.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8549, allocations: 8.031 kB / 1.172 GB, free: 6.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.8576, allocations: 259.5 kB / 1.173 GB, free: 5.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.8581, allocations: 299.2 kB / 1.173 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.8581, allocations: 16.56 kB / 1.173 GB, free: 5.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.8582, allocations: 28 kB / 1.173 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.8596, allocations: 436.5 kB / 1.173 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8596, allocations: 0 / 1.173 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.8597, allocations: 8 kB / 1.173 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.8597, allocations: 11.94 kB / 1.173 GB, free: 5.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.8619, allocations: 0.5369 MB / 1.174 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.8649, allocations: 1.151 MB / 1.175 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.8671, allocations: 459.9 kB / 1.176 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.8681, allocations: 228.7 kB / 1.176 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.8682, allocations: 8 kB / 1.176 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.8682, allocations: 38.56 kB / 1.176 GB, free: 2.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.8682, allocations: 0 / 1.176 GB, free: 2.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01528/0.8835, allocations: 1.72 MB / 1.177 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.8836, allocations: 55.41 kB / 1.178 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.884, allocations: 308.4 kB / 1.178 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.8841, allocations: 29.7 kB / 1.178 GB, free: 0.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.8842, allocations: 172.2 kB / 1.178 GB, free: 336 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.8843, allocations: 86.73 kB / 1.178 GB, free: 248 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.8844, allocations: 29.7 kB / 1.178 GB, free: 212 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8845, allocations: 346.8 kB / 1.178 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.8856, allocations: 204.4 kB / 1.179 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.8866, allocations: 274.8 kB / 1.179 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.8886, allocations: 442.8 kB / 1.179 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8887, allocations: 0 / 1.179 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00679/0.8955, allocations: 0.8888 MB / 1.18 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.8955, allocations: 8 kB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.8955, allocations: 0 / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.8974, allocations: 281.4 kB / 1.18 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.898, allocations: 75.81 kB / 1.181 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.9115, allocations: 3.776 MB / 1.184 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008746/0.9124, allocations: 79.58 kB / 1.184 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.9125, allocations: 15.97 kB / 1.184 GB, free: 9.523 MB / 0.9356 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.0002475/0.9127, allocations: 149.1 kB / 1.184 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.9128, allocations: 35.61 kB / 1.184 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006952/0.9198, allocations: 0.943 MB / 1.185 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9198, allocations: 0 / 1.185 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9198, allocations: 3.938 kB / 1.185 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.9198, allocations: 0 / 1.185 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.9204, allocations: 424.9 kB / 1.186 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9204, allocations: 0 / 1.186 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.9208, allocations: 59.89 kB / 1.186 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.9226, allocations: 277.4 kB / 1.186 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.9226, allocations: 11.97 kB / 1.186 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.9356, allocations: 3.774 MB / 1.19 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.9357, allocations: 0 / 1.19 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007098/0.9428, allocations: 0.9508 MB / 1.191 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.9429, allocations: 116.7 kB / 1.191 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.943, allocations: 4 kB / 1.191 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.9438, allocations: 51.89 kB / 1.191 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.9439, allocations: 27.89 kB / 1.191 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.944, allocations: 15.97 kB / 1.191 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002413/0.9442, allocations: 223.1 kB / 1.191 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9442, allocations: 4 kB / 1.191 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006157/0.9449, allocations: 111.9 kB / 1.191 GB, free: 1.988 MB / 0.9356 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.0002506/0.9451, allocations: 127.4 kB / 1.191 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002783/0.9479, allocations: 0.7354 MB / 1.192 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9479, allocations: 4 kB / 1.192 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.9494, allocations: 0.5012 MB / 1.193 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.9502, allocations: 101.3 kB / 1.193 GB, free: 476 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.9526, allocations: 0.7979 MB / 1.193 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.953, allocations: 0.7684 MB / 1.194 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004772/0.9534, allocations: 82.86 kB / 1.194 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.9536, allocations: 35.41 kB / 1.194 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/0.9536, allocations: 0 / 1.194 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.02036/0.974, allocations: 12.88 MB / 1.207 GB, free: 1.914 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches