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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000873/0.0008734, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.001045/0.001045, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.969/2.969, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003675, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.779, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002294/0.7813, allocations: 1.924 MB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1976/0.9789, allocations: 138.1 MB / 1.159 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.9796, allocations: 4 kB / 1.159 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.98, allocations: 27.66 kB / 1.159 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008052/0.9808, allocations: 87.39 kB / 1.159 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.9819, allocations: 247.2 kB / 1.159 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007189/0.9826, allocations: 367.8 kB / 1.16 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.9829, allocations: 90 kB / 1.16 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.9836, allocations: 199.5 kB / 1.16 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.984, allocations: 155.3 kB / 1.16 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.984, allocations: 12 kB / 1.16 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008006/0.9848, allocations: 251.6 kB / 1.161 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.985, allocations: 51.81 kB / 1.161 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.9851, allocations: 73.52 kB / 1.161 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.9857, allocations: 345.1 kB / 1.161 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.9857, allocations: 0 / 1.161 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.92e-06/0.9858, allocations: 4 kB / 1.161 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.9858, allocations: 0 / 1.161 GB, free: 1.727 MB / 0.9044 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.001626/0.9874, allocations: 0.6626 MB / 1.162 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.9875, allocations: 12.56 kB / 1.162 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.99, allocations: 251.3 kB / 1.162 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.9905, allocations: 291.4 kB / 1.162 GB, free: 444 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.9906, allocations: 24.5 kB / 1.162 GB, free: 420 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.9906, allocations: 24 kB / 1.162 GB, free: 396 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.992, allocations: 432.6 kB / 1.163 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.992, allocations: 0 / 1.163 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.9921, allocations: 12 kB / 1.163 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.9921, allocations: 4 kB / 1.163 GB, free: 15.94 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.9942, allocations: 0.533 MB / 1.163 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.9971, allocations: 1.155 MB / 1.164 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.9991, allocations: 462.3 kB / 1.165 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/1, allocations: 232.7 kB / 1.165 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/1, allocations: 12.38 kB / 1.165 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1, allocations: 42.52 kB / 1.165 GB, free: 13.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 4.489e-06/1, allocations: 3.984 kB / 1.165 GB, free: 13.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01332/1.013, allocations: 1.709 MB / 1.167 GB, free: 11.69 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.014, allocations: 55.39 kB / 1.167 GB, free: 11.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/1.014, allocations: 300.5 kB / 1.167 GB, free: 11.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/1.014, allocations: 33.7 kB / 1.167 GB, free: 11.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/1.014, allocations: 172.2 kB / 1.167 GB, free: 11.12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/1.014, allocations: 90.75 kB / 1.167 GB, free: 11.03 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/1.014, allocations: 4 kB / 1.167 GB, free: 11.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.014, allocations: 346.8 kB / 1.168 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009139/1.015, allocations: 204.4 kB / 1.168 GB, free: 10.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/1.016, allocations: 266.8 kB / 1.168 GB, free: 10.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/1.017, allocations: 215.9 kB / 1.168 GB, free: 9.984 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.017, allocations: 0 / 1.168 GB, free: 9.984 MB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006028/1.023, allocations: 0.8849 MB / 1.169 GB, free: 9.086 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.023, allocations: 11.94 kB / 1.169 GB, free: 9.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.023, allocations: 0 / 1.169 GB, free: 9.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/1.025, allocations: 281.4 kB / 1.169 GB, free: 8.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/1.026, allocations: 71.88 kB / 1.169 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/1.038, allocations: 3.766 MB / 1.173 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/1.039, allocations: 75.52 kB / 1.173 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/1.039, allocations: 27.95 kB / 1.173 GB, free: 4.578 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/1.039, allocations: 137.8 kB / 1.173 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/1.039, allocations: 27.62 kB / 1.173 GB, free: 4.406 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006135/1.045, allocations: 0.9507 MB / 1.174 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.045, allocations: 4 kB / 1.174 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.045, allocations: 0 / 1.174 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/1.045, allocations: 0 / 1.174 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008456/1.046, allocations: 424.8 kB / 1.175 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.046, allocations: 0 / 1.175 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/1.047, allocations: 63.88 kB / 1.175 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/1.048, allocations: 281.4 kB / 1.175 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/1.048, allocations: 15.97 kB / 1.175 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.06, allocations: 3.755 MB / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.06, allocations: 3.938 kB / 1.179 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/1.067, allocations: 0.9625 MB / 1.18 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/1.067, allocations: 120.5 kB / 1.18 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/1.067, allocations: 8 kB / 1.18 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/1.067, allocations: 43.95 kB / 1.18 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.068, allocations: 23.86 kB / 1.18 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/1.068, allocations: 15.98 kB / 1.18 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002762/1.068, allocations: 227 kB / 1.18 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.068, allocations: 4 kB / 1.18 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006707/1.069, allocations: 112 kB / 1.18 GB, free: 13.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/1.069, allocations: 119.2 kB / 1.18 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002495/1.071, allocations: 0.7319 MB / 1.181 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.071, allocations: 0 / 1.181 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/1.073, allocations: 0.5094 MB / 1.182 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/1.073, allocations: 101.9 kB / 1.182 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/1.076, allocations: 0.766 MB / 1.182 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/1.076, allocations: 0.7725 MB / 1.183 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004666/1.077, allocations: 78.88 kB / 1.183 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.077, allocations: 31.42 kB / 1.183 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/1.077, allocations: 0 / 1.183 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of Templates: time 0.02046/1.097, allocations: 12.63 MB / 1.196 GB, free: 13.27 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