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.006379/0.006384, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001603/0.001603, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.172/2.172, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 70.67 kB / 0.9508 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2907, allocations: 140.4 MB / 1.088 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003099/0.2938, allocations: 2.302 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.4421, allocations: 152 MB / 1.239 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.4423, allocations: 7.938 kB / 1.239 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.4425, allocations: 43.47 kB / 1.239 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.4429, allocations: 103.2 kB / 1.239 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.4435, allocations: 299 kB / 1.239 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.4439, allocations: 431.8 kB / 1.239 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.4441, allocations: 111.6 kB / 1.24 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.4453, allocations: 289.2 kB / 1.24 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.4455, allocations: 183.2 kB / 1.24 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.4456, allocations: 32 kB / 1.24 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.446, allocations: 283.5 kB / 1.24 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.4461, allocations: 75.75 kB / 1.24 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.4463, allocations: 171.2 kB / 1.241 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.4468, allocations: 498.1 kB / 1.241 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4469, allocations: 0 / 1.241 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4469, allocations: 3.938 kB / 1.241 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4469, allocations: 7.938 kB / 1.241 GB, free: 4.293 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.001383/0.4483, allocations: 0.7011 MB / 1.242 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4483, allocations: 8.031 kB / 1.242 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.4511, allocations: 267.6 kB / 1.242 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.4515, allocations: 307.3 kB / 1.242 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.4515, allocations: 20.56 kB / 1.242 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.4516, allocations: 31.98 kB / 1.242 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.453, allocations: 424.5 kB / 1.243 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.453, allocations: 7.984 kB / 1.243 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.4531, allocations: 12 kB / 1.243 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.4531, allocations: 11.94 kB / 1.243 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.4553, allocations: 0.5252 MB / 1.243 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.4582, allocations: 1.117 MB / 1.244 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.4604, allocations: 462.3 kB / 1.245 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.4615, allocations: 232.7 kB / 1.245 GB, free: 44 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.4615, allocations: 12.36 kB / 1.245 GB, free: 32 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4615, allocations: 34.56 kB / 1.245 GB, free: 15.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 1.664e-06/0.4616, allocations: 0 / 1.245 GB, free: 15.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.0156/0.4772, allocations: 1.727 MB / 1.247 GB, free: 14.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4772, allocations: 59.34 kB / 1.247 GB, free: 14.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.4775, allocations: 308.5 kB / 1.247 GB, free: 13.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.4776, allocations: 25.7 kB / 1.247 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4777, allocations: 172.4 kB / 1.247 GB, free: 13.63 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/0.4778, allocations: 87.16 kB / 1.247 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.4779, allocations: 73.92 kB / 1.247 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4781, allocations: 350.7 kB / 1.248 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.4791, allocations: 204.4 kB / 1.248 GB, free: 12.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4802, allocations: 255 kB / 1.248 GB, free: 12.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.4822, allocations: 438.8 kB / 1.249 GB, free: 12.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4822, allocations: 0 / 1.249 GB, free: 12.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006989/0.4892, allocations: 0.9007 MB / 1.25 GB, free: 11.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4893, allocations: 4 kB / 1.25 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4893, allocations: 0 / 1.25 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.4911, allocations: 281.4 kB / 1.25 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.4916, allocations: 67.88 kB / 1.25 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.5057, allocations: 4.09 MB / 1.254 GB, free: 6.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.5065, allocations: 71.78 kB / 1.254 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.5065, allocations: 23.97 kB / 1.254 GB, free: 6.477 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.0001917/0.5067, allocations: 142.9 kB / 1.254 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.5068, allocations: 35.75 kB / 1.254 GB, free: 6.293 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007028/0.5139, allocations: 0.9418 MB / 1.255 GB, free: 5.344 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.5139, allocations: 4 kB / 1.255 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.5139, allocations: 0 / 1.255 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5139, allocations: 0 / 1.255 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.5144, allocations: 456.4 kB / 1.255 GB, free: 4.844 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5144, allocations: 4 kB / 1.255 GB, free: 4.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.5148, allocations: 47.95 kB / 1.256 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.5166, allocations: 285.3 kB / 1.256 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.5166, allocations: 15.97 kB / 1.256 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.5306, allocations: 4.069 MB / 1.26 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5307, allocations: 4.031 kB / 1.26 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5771/1.108, allocations: 0.9616 MB / 1.261 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.108, allocations: 111.3 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/1.108, allocations: 9.438 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/1.109, allocations: 43.25 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/1.109, allocations: 23.64 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/1.109, allocations: 15.94 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002407/1.109, allocations: 224.8 kB / 1.261 GB, free: 174.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/1.109, allocations: 0 / 1.261 GB, free: 174.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005933/1.11, allocations: 117.3 kB / 1.261 GB, free: 174.4 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.0002054/1.11, allocations: 119.3 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002763/1.113, allocations: 0.7176 MB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.113, allocations: 0.7188 kB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.114, allocations: 0.5021 MB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/1.115, allocations: 110 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/1.117, allocations: 0.6882 MB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/1.118, allocations: 0.7679 MB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003877/1.118, allocations: 81.05 kB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/1.118, allocations: 38.92 kB / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.118, allocations: 0 / 1.264 GB, free: 173 MB / 1.014 GB Notification: Performance of Templates: time 0.02791/1.146, allocations: 13.62 MB / 1.277 GB, free: 171.6 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