Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 179.4 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 91.59 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 9 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.005/5.227, allocations: 2.19 GB / 3.09 GB, free: 250.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/5.228, allocations: 86.38 kB / 3.09 GB, free: 250.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1062/5.334, allocations: 51.49 MB / 3.14 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/5.334, allocations: 0 / 3.14 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.596e-05/5.334, allocations: 19.73 kB / 3.14 GB, free: 242.7 MB / 0.8855 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.001272/5.335, allocations: 0.6617 MB / 3.141 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/5.335, allocations: 11.23 kB / 3.141 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/5.338, allocations: 243.7 kB / 3.141 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/5.339, allocations: 305.9 kB / 3.142 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/5.339, allocations: 23.19 kB / 3.142 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/5.339, allocations: 26.91 kB / 3.142 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/5.34, allocations: 437.5 kB / 3.142 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/5.34, allocations: 3.984 kB / 3.142 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/5.34, allocations: 10.5 kB / 3.142 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/5.34, allocations: 7.875 kB / 3.142 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/5.342, allocations: 0.5282 MB / 3.143 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/5.345, allocations: 1.145 MB / 3.144 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/5.348, allocations: 466.2 kB / 3.144 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/5.348, allocations: 12.16 kB / 3.144 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/5.348, allocations: 42.09 kB / 3.144 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.093e-06/5.348, allocations: 0 / 3.144 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.01714/5.365, allocations: 1.718 MB / 3.146 GB, free: 241 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/5.365, allocations: 55.34 kB / 3.146 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/5.365, allocations: 269.9 kB / 3.146 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/5.365, allocations: 29.14 kB / 3.146 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/5.365, allocations: 170.4 kB / 3.146 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/5.365, allocations: 85.12 kB / 3.147 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/5.365, allocations: 7.562 kB / 3.147 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/5.366, allocations: 344.4 kB / 3.147 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/5.367, allocations: 203.4 kB / 3.147 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/5.368, allocations: 262.1 kB / 3.147 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/5.369, allocations: 219.6 kB / 3.148 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/5.369, allocations: 0 / 3.148 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007464/5.376, allocations: 0.9026 MB / 3.148 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/5.376, allocations: 7.719 kB / 3.148 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/5.376, allocations: 0 / 3.148 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/5.378, allocations: 276.5 kB / 3.149 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/5.379, allocations: 74.38 kB / 3.149 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/5.393, allocations: 3.866 MB / 3.153 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009693/5.394, allocations: 72.61 kB / 3.153 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/5.394, allocations: 23.45 kB / 3.153 GB, free: 237.4 MB / 0.8855 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.0002407/5.395, allocations: 142.8 kB / 3.153 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/5.395, allocations: 39.3 kB / 3.153 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007638/5.402, allocations: 0.9474 MB / 3.154 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/5.402, allocations: 3.906 kB / 3.154 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/5.402, allocations: 0 / 3.154 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/5.402, allocations: 3.281 kB / 3.154 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/5.403, allocations: 426.6 kB / 3.154 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/5.403, allocations: 0 / 3.154 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/5.403, allocations: 50.36 kB / 3.154 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/5.405, allocations: 289.5 kB / 3.154 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/5.405, allocations: 20.86 kB / 3.154 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/5.42, allocations: 3.858 MB / 3.158 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/5.42, allocations: 3.875 kB / 3.158 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007591/5.428, allocations: 0.9525 MB / 3.159 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/5.428, allocations: 127.4 kB / 3.159 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/5.428, allocations: 3.938 kB / 3.159 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/5.429, allocations: 50.17 kB / 3.159 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/5.429, allocations: 15.62 kB / 3.159 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/5.429, allocations: 19.12 kB / 3.159 GB, free: 234 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002121/5.429, allocations: 222.6 kB / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/5.429, allocations: 3.906 kB / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000806/5.43, allocations: 161.1 kB / 3.16 GB, free: 233.9 MB / 0.8855 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.000709/5.431, allocations: 0.6009 MB / 3.16 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002688/5.433, allocations: 0.7251 MB / 3.161 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.433, allocations: 0 / 3.161 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/5.435, allocations: 0.5109 MB / 3.162 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/5.435, allocations: 104.8 kB / 3.162 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/5.438, allocations: 0.7697 MB / 3.162 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/5.438, allocations: 0.7773 MB / 3.163 GB, free: 232 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004529/5.438, allocations: 77.62 kB / 3.163 GB, free: 232 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/5.438, allocations: 38.38 kB / 3.163 GB, free: 232 MB / 0.8855 GB Notification: Performance of SimCode: time 8.02e-07/5.438, allocations: 0 / 3.163 GB, free: 232 MB / 0.8855 GB Notification: Performance of Templates: time 0.02233/5.461, allocations: 20.23 MB / 3.183 GB, free: 222.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Comfort_Examples_Fanger.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches