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.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 128 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.001098/0.001098, allocations: 197.3 kB / 16.53 MB, free: 6.668 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.601/2.601, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6329, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00586/0.6388, allocations: 2.304 MB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1614/0.8002, allocations: 152 MB / 1.168 GB, free: 7.613 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.8006, allocations: 3.938 kB / 1.168 GB, free: 7.609 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.8008, allocations: 51.45 kB / 1.168 GB, free: 7.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.8013, allocations: 95.2 kB / 1.168 GB, free: 7.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.8021, allocations: 306.9 kB / 1.168 GB, free: 7.164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.8025, allocations: 427.8 kB / 1.169 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.8028, allocations: 105.7 kB / 1.169 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.804, allocations: 264.9 kB / 1.169 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.8043, allocations: 187.2 kB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.8044, allocations: 32 kB / 1.169 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005758/0.8049, allocations: 283.6 kB / 1.17 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.8051, allocations: 83.72 kB / 1.17 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.8052, allocations: 155.2 kB / 1.17 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.8059, allocations: 490.5 kB / 1.17 GB, free: 5.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8059, allocations: 0 / 1.17 GB, free: 5.195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8059, allocations: 0 / 1.17 GB, free: 5.195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.8059, allocations: 0 / 1.17 GB, free: 5.195 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.001458/0.8073, allocations: 0.7056 MB / 1.171 GB, free: 4.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.8074, allocations: 12.03 kB / 1.171 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/0.8102, allocations: 259.4 kB / 1.171 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.8106, allocations: 295.3 kB / 1.172 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.8106, allocations: 32.56 kB / 1.172 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.8106, allocations: 24 kB / 1.172 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.8121, allocations: 432.5 kB / 1.172 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8121, allocations: 0 / 1.172 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.8121, allocations: 16 kB / 1.172 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.8122, allocations: 7.938 kB / 1.172 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.8145, allocations: 0.5213 MB / 1.173 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.8176, allocations: 1.135 MB / 1.174 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.8199, allocations: 467.9 kB / 1.174 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.8209, allocations: 228.7 kB / 1.174 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.821, allocations: 8.375 kB / 1.174 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.821, allocations: 34.56 kB / 1.174 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/0.821, allocations: 0 / 1.174 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.0154/0.8364, allocations: 1.727 MB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8365, allocations: 55.41 kB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.8368, allocations: 304.5 kB / 1.176 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.8368, allocations: 33.7 kB / 1.176 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.837, allocations: 172.2 kB / 1.177 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.8372, allocations: 86.75 kB / 1.177 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.8375, allocations: 73.83 kB / 1.177 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.8377, allocations: 354.7 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.8395, allocations: 204.3 kB / 1.177 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.8414, allocations: 266.9 kB / 1.178 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003714/0.8452, allocations: 426.3 kB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8452, allocations: 3.938 kB / 1.178 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.008992/0.8542, allocations: 0.9005 MB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8542, allocations: 4 kB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8542, allocations: 0 / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.8561, allocations: 281.4 kB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.8565, allocations: 67.88 kB / 1.179 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.8732, allocations: 4.094 MB / 1.183 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.8743, allocations: 75.58 kB / 1.183 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.82e-05/0.8744, allocations: 23.95 kB / 1.183 GB, free: 7.355 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.0002808/0.8747, allocations: 138.9 kB / 1.183 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8749, allocations: 31.62 kB / 1.183 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00889/0.8838, allocations: 0.9555 MB / 1.184 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.8838, allocations: 0 / 1.184 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.8838, allocations: 4 kB / 1.184 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8838, allocations: 0 / 1.184 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.8844, allocations: 424.9 kB / 1.185 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8844, allocations: 0 / 1.185 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.8848, allocations: 51.95 kB / 1.185 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/0.8869, allocations: 281.4 kB / 1.185 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.8869, allocations: 15.97 kB / 1.185 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/0.9065, allocations: 4.08 MB / 1.189 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9066, allocations: 0 / 1.189 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009245/0.9158, allocations: 0.9508 MB / 1.19 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.916, allocations: 112.6 kB / 1.19 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.9161, allocations: 19.89 kB / 1.19 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.9169, allocations: 43.95 kB / 1.19 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.917, allocations: 15.98 kB / 1.19 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.9171, allocations: 19.91 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002605/0.9173, allocations: 231 kB / 1.19 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9173, allocations: 4 kB / 1.19 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006158/0.918, allocations: 111.9 kB / 1.191 GB, free: 15.5 MB / 0.9512 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.000232/0.9182, allocations: 123.2 kB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.921, allocations: 0.7319 MB / 1.191 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.921, allocations: 0 / 1.191 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.9226, allocations: 0.4976 MB / 1.192 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.9233, allocations: 118.4 kB / 1.192 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.9259, allocations: 0.6911 MB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.9262, allocations: 0.7684 MB / 1.193 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.9267, allocations: 86.8 kB / 1.193 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.9268, allocations: 31.42 kB / 1.194 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.9268, allocations: 4 kB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.02089/0.9477, allocations: 13.55 MB / 1.207 GB, free: 14.86 MB / 0.9669 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