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.001379/0.001379, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 194.6 kB / 16.53 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 482.6 MB / 0.7548 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.67 kB / 0.9241 GB, free: 29.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 162.3 MB / 1.083 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003815/0.3246, allocations: 2.305 MB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1824/0.507, allocations: 152 MB / 1.233 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.5073, allocations: 4 kB / 1.233 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.5075, allocations: 43.47 kB / 1.233 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.508, allocations: 107.2 kB / 1.233 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.5088, allocations: 294.9 kB / 1.234 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.5093, allocations: 427.8 kB / 1.234 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.5095, allocations: 124 kB / 1.234 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.5111, allocations: 275.2 kB / 1.234 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.5114, allocations: 183.2 kB / 1.235 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.5114, allocations: 28 kB / 1.235 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005888/0.512, allocations: 283.6 kB / 1.235 GB, free: 352 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.5122, allocations: 79.72 kB / 1.235 GB, free: 272 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.5123, allocations: 163.2 kB / 1.235 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.513, allocations: 486.6 kB / 1.236 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.513, allocations: 0 / 1.236 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.513, allocations: 3.938 kB / 1.236 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.513, allocations: 4 kB / 1.236 GB, free: 15.62 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.001533/0.5146, allocations: 0.7017 MB / 1.236 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5146, allocations: 8.031 kB / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.5174, allocations: 259.5 kB / 1.237 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.5178, allocations: 295.2 kB / 1.237 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.5179, allocations: 20.56 kB / 1.237 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.5179, allocations: 28 kB / 1.237 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.5194, allocations: 432.5 kB / 1.237 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5195, allocations: 0 / 1.237 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.5195, allocations: 16 kB / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.5195, allocations: 11.94 kB / 1.237 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.5219, allocations: 0.5213 MB / 1.238 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.5251, allocations: 1.136 MB / 1.239 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.5274, allocations: 470.3 kB / 1.239 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.5285, allocations: 228.7 kB / 1.24 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.5285, allocations: 8 kB / 1.24 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.5286, allocations: 30.56 kB / 1.24 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 3.567e-06/0.5286, allocations: 0 / 1.24 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.01612/0.5447, allocations: 1.724 MB / 1.241 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.5448, allocations: 59.39 kB / 1.241 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.5452, allocations: 304.6 kB / 1.242 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.5453, allocations: 25.7 kB / 1.242 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.5454, allocations: 176.2 kB / 1.242 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.5455, allocations: 86.67 kB / 1.242 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.5457, allocations: 77.92 kB / 1.242 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5458, allocations: 338.8 kB / 1.242 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.5469, allocations: 212.3 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.548, allocations: 258.9 kB / 1.243 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.5502, allocations: 434.8 kB / 1.243 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.5502, allocations: 0 / 1.243 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007082/0.5573, allocations: 0.8927 MB / 1.244 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.5573, allocations: 9.562 kB / 1.244 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5573, allocations: 4 kB / 1.244 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.5593, allocations: 269.4 kB / 1.244 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.5598, allocations: 71.88 kB / 1.244 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.5747, allocations: 4.1 MB / 1.248 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.5756, allocations: 63.64 kB / 1.249 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.5756, allocations: 23.97 kB / 1.249 GB, free: 1.82 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.0002163/0.5758, allocations: 141.8 kB / 1.249 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.5759, allocations: 31.62 kB / 1.249 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0073/0.5832, allocations: 0.9501 MB / 1.25 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5833, allocations: 4 kB / 1.25 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5833, allocations: 0 / 1.25 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5833, allocations: 7.984 kB / 1.25 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.5839, allocations: 425 kB / 1.25 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5839, allocations: 0 / 1.25 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.5843, allocations: 51.89 kB / 1.25 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5458/1.13, allocations: 272.2 kB / 1.25 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.13, allocations: 14.42 kB / 1.25 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/1.145, allocations: 4.078 MB / 1.254 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.145, allocations: 0.9375 kB / 1.254 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007268/1.152, allocations: 0.9685 MB / 1.255 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.152, allocations: 109.8 kB / 1.255 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/1.152, allocations: 9.922 kB / 1.255 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/1.153, allocations: 48.45 kB / 1.255 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.153, allocations: 20.94 kB / 1.255 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/1.153, allocations: 21.61 kB / 1.255 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002597/1.154, allocations: 221.7 kB / 1.256 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.154, allocations: 0.8438 kB / 1.256 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006383/1.154, allocations: 113.8 kB / 1.256 GB, free: 171.4 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.0001966/1.154, allocations: 119.3 kB / 1.256 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002878/1.157, allocations: 0.74 MB / 1.257 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.157, allocations: 0 / 1.257 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.159, allocations: 0.503 MB / 1.257 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/1.16, allocations: 111.8 kB / 1.257 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/1.162, allocations: 0.6893 MB / 1.258 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/1.162, allocations: 0.7667 MB / 1.259 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004646/1.163, allocations: 81.94 kB / 1.259 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.163, allocations: 36.47 kB / 1.259 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.163, allocations: 0 / 1.259 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02387/1.187, allocations: 13.54 MB / 1.272 GB, free: 168 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=400 -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