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.001136/0.001136, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00131/0.00131, allocations: 177.3 kB / 15.95 MB, free: 216 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.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005379, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9788/0.9794, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002861/0.9823, allocations: 1.866 MB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1579/1.14, allocations: 128.3 MB / 1.148 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/1.141, allocations: 0 / 1.148 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/1.141, allocations: 19.78 kB / 1.148 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004642/1.141, allocations: 119.6 kB / 1.148 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009471/1.142, allocations: 247.4 kB / 1.148 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006035/1.143, allocations: 264.7 kB / 1.149 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/1.143, allocations: 82.12 kB / 1.149 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/1.144, allocations: 179.5 kB / 1.149 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/1.144, allocations: 155.4 kB / 1.149 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/1.144, allocations: 12 kB / 1.149 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/1.145, allocations: 267.5 kB / 1.149 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/1.145, allocations: 59.8 kB / 1.149 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/1.145, allocations: 77.52 kB / 1.149 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005797/1.145, allocations: 337.2 kB / 1.15 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/1.146, allocations: 0 / 1.15 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.857e-06/1.146, allocations: 0 / 1.15 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.342e-05/1.146, allocations: 3.938 kB / 1.15 GB, free: 12.79 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.001556/1.147, allocations: 0.6626 MB / 1.15 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.147, allocations: 11.98 kB / 1.15 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/1.15, allocations: 251.3 kB / 1.151 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/1.15, allocations: 295.4 kB / 1.151 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.15, allocations: 24.56 kB / 1.151 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/1.151, allocations: 28 kB / 1.151 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/1.152, allocations: 428.5 kB / 1.151 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.152, allocations: 3.938 kB / 1.151 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/1.152, allocations: 12 kB / 1.151 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.152, allocations: 8 kB / 1.151 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/1.155, allocations: 0.5291 MB / 1.152 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/1.158, allocations: 1.147 MB / 1.153 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/1.16, allocations: 466.4 kB / 1.153 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/1.16, allocations: 11.92 kB / 1.153 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.16, allocations: 38.52 kB / 1.153 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/1.16, allocations: 0 / 1.153 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.01527/1.175, allocations: 1.706 MB / 1.155 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/1.175, allocations: 59.34 kB / 1.155 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/1.176, allocations: 308.5 kB / 1.155 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/1.176, allocations: 29.7 kB / 1.156 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/1.176, allocations: 168.2 kB / 1.156 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.176, allocations: 86.73 kB / 1.156 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/1.176, allocations: 8 kB / 1.156 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.176, allocations: 342.8 kB / 1.156 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009898/1.177, allocations: 208.4 kB / 1.156 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/1.178, allocations: 262.8 kB / 1.157 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.18, allocations: 219.8 kB / 1.157 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.18, allocations: 0 / 1.157 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006632/1.186, allocations: 0.8888 MB / 1.158 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.186, allocations: 4 kB / 1.158 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.186, allocations: 0 / 1.158 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/1.188, allocations: 281.4 kB / 1.158 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/1.189, allocations: 67.94 kB / 1.158 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.203, allocations: 3.874 MB / 1.162 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/1.203, allocations: 79.55 kB / 1.162 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/1.204, allocations: 19.97 kB / 1.162 GB, free: 15.78 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.0002247/1.204, allocations: 145.8 kB / 1.162 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/1.204, allocations: 27.62 kB / 1.162 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007016/1.211, allocations: 0.9534 MB / 1.163 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.211, allocations: 4 kB / 1.163 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.211, allocations: 0 / 1.163 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.211, allocations: 3.984 kB / 1.163 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/1.212, allocations: 432.8 kB / 1.163 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.212, allocations: 0 / 1.163 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/1.212, allocations: 63.88 kB / 1.163 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/1.214, allocations: 273.4 kB / 1.164 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/1.214, allocations: 15.97 kB / 1.164 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/1.228, allocations: 3.856 MB / 1.167 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.228, allocations: 0 / 1.167 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006791/1.235, allocations: 0.9608 MB / 1.168 GB, free: 8.699 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.235, allocations: 120.6 kB / 1.169 GB, free: 8.562 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/1.235, allocations: 4 kB / 1.169 GB, free: 8.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/1.236, allocations: 51.95 kB / 1.169 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/1.236, allocations: 19.92 kB / 1.169 GB, free: 8.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/1.236, allocations: 19.97 kB / 1.169 GB, free: 8.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000248/1.236, allocations: 219.1 kB / 1.169 GB, free: 8.254 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/1.236, allocations: 4 kB / 1.169 GB, free: 8.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006119/1.237, allocations: 112 kB / 1.169 GB, free: 8.141 MB / 0.92 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.0002097/1.237, allocations: 115.2 kB / 1.169 GB, free: 8.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002727/1.24, allocations: 0.7235 MB / 1.17 GB, free: 7.27 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.24, allocations: 0 / 1.17 GB, free: 7.27 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.241, allocations: 0.5054 MB / 1.17 GB, free: 6.738 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/1.242, allocations: 97.28 kB / 1.17 GB, free: 6.645 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/1.244, allocations: 0.7688 MB / 1.171 GB, free: 5.848 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/1.245, allocations: 0.7764 MB / 1.172 GB, free: 5.047 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004467/1.245, allocations: 74.89 kB / 1.172 GB, free: 4.977 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.246, allocations: 39.34 kB / 1.172 GB, free: 4.938 MB / 0.92 GB Notification: Performance of SimCode: time 1.993e-06/1.246, allocations: 0 / 1.172 GB, free: 4.938 MB / 0.92 GB Notification: Performance of Templates: time 0.01921/1.265, allocations: 12.62 MB / 1.184 GB, free: 8.371 MB / 0.9356 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","../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches