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.475/1.475, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 172.9 kB / 316.3 MB, free: 3.242 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.839/1.839, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008911/0.0008913, allocations: 90.55 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.446e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2807, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.785/8.066, allocations: 2.19 GB / 3.075 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/8.067, allocations: 91.69 kB / 3.076 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1064/8.173, allocations: 50.61 MB / 3.125 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.087e-06/8.173, allocations: 0 / 3.125 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.464e-05/8.173, allocations: 15.88 kB / 3.125 GB, free: 131.8 MB / 0.8698 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.001306/8.175, allocations: 0.6447 MB / 3.126 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/8.175, allocations: 12.03 kB / 3.126 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/8.177, allocations: 243.4 kB / 3.126 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/8.178, allocations: 299.4 kB / 3.126 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/8.178, allocations: 8 kB / 3.126 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/8.178, allocations: 16 kB / 3.126 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006158/8.178, allocations: 384.8 kB / 3.126 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/8.179, allocations: 311.6 kB / 3.127 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/8.179, allocations: 4 kB / 3.127 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/8.179, allocations: 0 / 3.127 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/8.179, allocations: 4 kB / 3.127 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/8.181, allocations: 1.073 MB / 3.128 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/8.182, allocations: 314.5 kB / 3.128 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/8.182, allocations: 149.5 kB / 3.128 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/8.182, allocations: 4 kB / 3.128 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/8.182, allocations: 34.56 kB / 3.128 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/8.182, allocations: 0 / 3.128 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.004546/8.187, allocations: 0.6498 MB / 3.129 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/8.187, allocations: 59.36 kB / 3.129 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/8.187, allocations: 184 kB / 3.129 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/8.187, allocations: 25.7 kB / 3.129 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/8.187, allocations: 187.9 kB / 3.129 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/8.187, allocations: 74.77 kB / 3.129 GB, free: 127 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/8.188, allocations: 4 kB / 3.129 GB, free: 127 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/8.188, allocations: 334.8 kB / 3.13 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/8.188, allocations: 120.5 kB / 3.13 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/8.188, allocations: 182.7 kB / 3.13 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/8.188, allocations: 164.3 kB / 3.13 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/8.188, allocations: 0 / 3.13 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004378/8.193, allocations: 0.6782 MB / 3.131 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/8.193, allocations: 11.95 kB / 3.131 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/8.193, allocations: 0 / 3.131 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/8.194, allocations: 165.5 kB / 3.131 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/8.194, allocations: 75.88 kB / 3.131 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/8.2, allocations: 3.191 MB / 3.134 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/8.201, allocations: 67.81 kB / 3.134 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/8.201, allocations: 19.95 kB / 3.134 GB, free: 121.7 MB / 0.8698 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 () * 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.0001668/8.201, allocations: 108.9 kB / 3.134 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/8.202, allocations: 23.72 kB / 3.134 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/8.206, allocations: 0.7402 MB / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/8.206, allocations: 0 / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/8.206, allocations: 0 / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/8.206, allocations: 0 / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/8.207, allocations: 385.5 kB / 3.136 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/8.207, allocations: 0 / 3.136 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/8.207, allocations: 55.95 kB / 3.136 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/8.208, allocations: 177.5 kB / 3.136 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/8.208, allocations: 11.91 kB / 3.136 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006186/8.214, allocations: 3.195 MB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/8.214, allocations: 0 / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/8.218, allocations: 0.735 MB / 3.14 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/8.218, allocations: 100.8 kB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/8.218, allocations: 7.984 kB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/8.219, allocations: 43.95 kB / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/8.219, allocations: 19.92 kB / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/8.219, allocations: 15.97 kB / 3.14 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000177/8.219, allocations: 160.5 kB / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.22, allocations: 0 / 3.14 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009099/8.22, allocations: 147.8 kB / 3.14 GB, free: 115.5 MB / 0.8698 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 () * 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.001069/8.221, allocations: 0.6967 MB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001163/8.223, allocations: 0.5578 MB / 3.141 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/8.223, allocations: 3.938 kB / 3.141 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006377/8.223, allocations: 419.3 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/8.224, allocations: 62.38 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/8.225, allocations: 441.2 kB / 3.142 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/8.226, allocations: 0.7757 MB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004889/8.226, allocations: 69.97 kB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/8.227, allocations: 31.42 kB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/8.227, allocations: 0 / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02564/8.252, allocations: 14.82 MB / 3.158 GB, free: 97.54 MB / 0.8698 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