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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001601/0.001601, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001639/0.001639, allocations: 195.7 kB / 16.26 MB, free: 6.629 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 482.3 MB / 0.7542 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.64 kB / 0.9232 GB, free: 29.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 162.2 MB / 1.082 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003648/0.3296, allocations: 2.357 MB / 1.084 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.4958, allocations: 149.8 MB / 1.23 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.4961, allocations: 7.938 kB / 1.23 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.4963, allocations: 31.72 kB / 1.23 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.4967, allocations: 91.33 kB / 1.23 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.4975, allocations: 267.3 kB / 1.231 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.4979, allocations: 431.7 kB / 1.231 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.4982, allocations: 104 kB / 1.231 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.5003, allocations: 287 kB / 1.231 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.5006, allocations: 187.2 kB / 1.232 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.5006, allocations: 32 kB / 1.232 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.5011, allocations: 283.6 kB / 1.232 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.5012, allocations: 79.73 kB / 1.232 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.5014, allocations: 171.2 kB / 1.232 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.502, allocations: 482.5 kB / 1.233 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.502, allocations: 7.984 kB / 1.233 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.502, allocations: 0 / 1.233 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.502, allocations: 4 kB / 1.233 GB, free: 2.582 MB / 0.9825 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.001496/0.5035, allocations: 0.6939 MB / 1.233 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.5036, allocations: 8.031 kB / 1.233 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.5067, allocations: 263.5 kB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.5071, allocations: 303.2 kB / 1.234 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.5071, allocations: 16.56 kB / 1.234 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.5072, allocations: 28 kB / 1.234 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5088, allocations: 436.5 kB / 1.234 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5088, allocations: 0 / 1.234 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.5088, allocations: 12 kB / 1.234 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.5089, allocations: 15.92 kB / 1.234 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.5114, allocations: 0.5213 MB / 1.235 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.5147, allocations: 1.136 MB / 1.236 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.5172, allocations: 458.3 kB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.5183, allocations: 232.7 kB / 1.237 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.5184, allocations: 12.38 kB / 1.237 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5184, allocations: 30.56 kB / 1.237 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/0.5184, allocations: 4 kB / 1.237 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.01804/0.5365, allocations: 1.724 MB / 1.238 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5366, allocations: 55.41 kB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.5369, allocations: 300.6 kB / 1.239 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.537, allocations: 29.7 kB / 1.239 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.5372, allocations: 184.2 kB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5373, allocations: 78.75 kB / 1.239 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.5375, allocations: 77.92 kB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5376, allocations: 338.8 kB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.5387, allocations: 208.4 kB / 1.239 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.5399, allocations: 262.8 kB / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.5421, allocations: 434.8 kB / 1.24 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5421, allocations: 0 / 1.24 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007669/0.5498, allocations: 0.8966 MB / 1.241 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5499, allocations: 4 kB / 1.241 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5499, allocations: 4 kB / 1.241 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.5518, allocations: 277.4 kB / 1.241 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.5523, allocations: 67.88 kB / 1.241 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.5684, allocations: 4.093 MB / 1.245 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/0.5694, allocations: 71.7 kB / 1.245 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.5695, allocations: 19.97 kB / 1.245 GB, free: 4.781 MB / 0.9981 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.000258/0.5697, allocations: 149.8 kB / 1.246 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5698, allocations: 31.62 kB / 1.246 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007673/0.5775, allocations: 0.9534 MB / 1.247 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5776, allocations: 4 kB / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.5776, allocations: 0 / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5776, allocations: 0 / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.5782, allocations: 420.9 kB / 1.247 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5782, allocations: 0 / 1.247 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.5786, allocations: 59.89 kB / 1.247 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.5806, allocations: 277.4 kB / 1.247 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.5806, allocations: 23.91 kB / 1.247 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5445/1.125, allocations: 4.069 MB / 1.251 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.125, allocations: 0.6094 kB / 1.251 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007805/1.133, allocations: 0.9673 MB / 1.252 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.133, allocations: 110 kB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/1.133, allocations: 5.781 kB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/1.134, allocations: 45.69 kB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.134, allocations: 22.86 kB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/1.134, allocations: 14.67 kB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003325/1.135, allocations: 225.2 kB / 1.253 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.135, allocations: 0 / 1.253 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006667/1.135, allocations: 114.2 kB / 1.253 GB, free: 173.2 MB / 0.9981 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.0002246/1.135, allocations: 124.2 kB / 1.253 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003064/1.139, allocations: 0.7326 MB / 1.254 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.139, allocations: 0 / 1.254 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.14, allocations: 0.5041 MB / 1.254 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/1.141, allocations: 110.5 kB / 1.254 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.144, allocations: 0.7801 MB / 1.255 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/1.144, allocations: 0.7666 MB / 1.256 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004891/1.144, allocations: 80.03 kB / 1.256 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/1.144, allocations: 36.8 kB / 1.256 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.144, allocations: 0 / 1.256 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02232/1.167, allocations: 13.46 MB / 1.269 GB, free: 170.4 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches