Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.004599/0.004599, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.00113/0.00113, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.06 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2808, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003453/0.2843, allocations: 2.303 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.4513, allocations: 152 MB / 1.239 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.4517, allocations: 3.938 kB / 1.239 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.4521, allocations: 51.45 kB / 1.239 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007503/0.453, allocations: 95.2 kB / 1.239 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.4542, allocations: 318.8 kB / 1.239 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007156/0.4549, allocations: 423.8 kB / 1.239 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.4552, allocations: 119.6 kB / 1.24 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.4567, allocations: 279.2 kB / 1.24 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.457, allocations: 191.2 kB / 1.24 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.4571, allocations: 28 kB / 1.24 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007859/0.4579, allocations: 275.6 kB / 1.24 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.458, allocations: 83.72 kB / 1.24 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.4582, allocations: 167.2 kB / 1.241 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008865/0.4591, allocations: 494.5 kB / 1.241 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4592, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4592, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.4592, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9981 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.001489/0.4607, allocations: 0.7095 MB / 1.242 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4607, allocations: 8.031 kB / 1.242 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/0.4634, allocations: 259.5 kB / 1.242 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.4639, allocations: 307.1 kB / 1.242 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.4639, allocations: 24.56 kB / 1.242 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.464, allocations: 28 kB / 1.242 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.4654, allocations: 428.5 kB / 1.243 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4654, allocations: 0 / 1.243 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.4655, allocations: 16 kB / 1.243 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.4655, allocations: 7.938 kB / 1.243 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.4677, allocations: 0.5251 MB / 1.243 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.4711, allocations: 1.117 MB / 1.244 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.4732, allocations: 467.9 kB / 1.245 GB, free: 164 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4742, allocations: 232.6 kB / 1.245 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.4743, allocations: 4 kB / 1.245 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4743, allocations: 34.56 kB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.4743, allocations: 3.938 kB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.01516/0.4895, allocations: 1.731 MB / 1.247 GB, free: 14.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.4896, allocations: 55.34 kB / 1.247 GB, free: 14.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.4901, allocations: 308.5 kB / 1.247 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.4902, allocations: 37.64 kB / 1.247 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4904, allocations: 168.2 kB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4905, allocations: 86.8 kB / 1.247 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.4907, allocations: 69.92 kB / 1.247 GB, free: 13.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4909, allocations: 346.7 kB / 1.248 GB, free: 13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.4919, allocations: 200.4 kB / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.4931, allocations: 263 kB / 1.248 GB, free: 12.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.4952, allocations: 430.8 kB / 1.249 GB, free: 12.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.4952, allocations: 4 kB / 1.249 GB, free: 12.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006631/0.5018, allocations: 0.8888 MB / 1.249 GB, free: 11.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.5019, allocations: 4 kB / 1.249 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5019, allocations: 0 / 1.249 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.5038, allocations: 281.4 kB / 1.25 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.5044, allocations: 59.89 kB / 1.25 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.5188, allocations: 4.092 MB / 1.254 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008801/0.5197, allocations: 75.62 kB / 1.254 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.5198, allocations: 19.97 kB / 1.254 GB, free: 6.383 MB / 1.014 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.0002701/0.5201, allocations: 148.6 kB / 1.254 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.5202, allocations: 27.62 kB / 1.254 GB, free: 6.203 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006695/0.5269, allocations: 0.9533 MB / 1.255 GB, free: 5.242 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.527, allocations: 4 kB / 1.255 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.527, allocations: 0 / 1.255 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.527, allocations: 7.969 kB / 1.255 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.5277, allocations: 440.5 kB / 1.255 GB, free: 4.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5277, allocations: 0 / 1.255 GB, free: 4.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.5281, allocations: 55.95 kB / 1.255 GB, free: 4.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.5299, allocations: 273.3 kB / 1.256 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.5299, allocations: 19.97 kB / 1.256 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.5432, allocations: 4.08 MB / 1.26 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5433, allocations: 0 / 1.26 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7337/1.277, allocations: 0.9531 MB / 1.261 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.277, allocations: 112.7 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/1.277, allocations: 5.875 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/1.278, allocations: 44.97 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.278, allocations: 20.34 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/1.278, allocations: 19.39 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002759/1.278, allocations: 222.2 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.278, allocations: 0 / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007227/1.279, allocations: 120.2 kB / 1.261 GB, free: 174.2 MB / 1.014 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.0002297/1.279, allocations: 126.8 kB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002762/1.282, allocations: 0.7128 MB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.282, allocations: 0 / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.284, allocations: 0.5071 MB / 1.262 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/1.284, allocations: 110.8 kB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/1.287, allocations: 0.6813 MB / 1.263 GB, free: 173.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.287, allocations: 0.7663 MB / 1.264 GB, free: 172.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003721/1.287, allocations: 81.16 kB / 1.264 GB, free: 172.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.288, allocations: 34.09 kB / 1.264 GB, free: 172.8 MB / 1.014 GB Notification: Performance of SimCode: time 7.81e-07/1.288, allocations: 0 / 1.264 GB, free: 172.8 MB / 1.014 GB Notification: Performance of Templates: time 0.02753/1.315, allocations: 13.62 MB / 1.277 GB, free: 171.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches