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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001574/0.001574, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001802/0.001802, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.57/2.57, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.11 kB / 1.055 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.8321, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003706/0.8359, allocations: 2.303 MB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.9923, allocations: 152 MB / 1.359 GB, free: 2.734 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.9927, allocations: 4 kB / 1.359 GB, free: 2.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.9929, allocations: 43.47 kB / 1.359 GB, free: 2.688 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.9934, allocations: 95.2 kB / 1.359 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008403/0.9943, allocations: 310.9 kB / 1.36 GB, free: 2.289 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.9949, allocations: 431.8 kB / 1.36 GB, free: 1.863 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.9951, allocations: 107.7 kB / 1.36 GB, free: 1.754 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.9965, allocations: 287.2 kB / 1.36 GB, free: 1.496 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.9969, allocations: 183.2 kB / 1.36 GB, free: 1.316 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.997, allocations: 28 kB / 1.361 GB, free: 1.289 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.9976, allocations: 283.5 kB / 1.361 GB, free: 1.012 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.9977, allocations: 79.75 kB / 1.361 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.9978, allocations: 163.2 kB / 1.361 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.9986, allocations: 0.4884 MB / 1.361 GB, free: 296 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.9986, allocations: 3.984 kB / 1.361 GB, free: 292 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9986, allocations: 0 / 1.361 GB, free: 292 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.9987, allocations: 0 / 1.361 GB, free: 292 kB / 1.076 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.001586/1, allocations: 0.7017 MB / 1.362 GB, free: 15.54 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/1, allocations: 8.031 kB / 1.362 GB, free: 15.53 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/1.003, allocations: 263.5 kB / 1.362 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/1.004, allocations: 303.2 kB / 1.363 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/1.004, allocations: 20.56 kB / 1.363 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/1.004, allocations: 28 kB / 1.363 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/1.005, allocations: 428.5 kB / 1.363 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.005, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/1.005, allocations: 15.98 kB / 1.363 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/1.005, allocations: 7.938 kB / 1.363 GB, free: 14.44 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/1.008, allocations: 0.529 MB / 1.364 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/1.011, allocations: 1.132 MB / 1.365 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/1.013, allocations: 454.3 kB / 1.365 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/1.014, allocations: 236.6 kB / 1.365 GB, free: 12.04 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/1.014, allocations: 12.38 kB / 1.365 GB, free: 12.02 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/1.014, allocations: 38.55 kB / 1.366 GB, free: 11.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/1.014, allocations: 0 / 1.366 GB, free: 11.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=25): time 0.01596/1.03, allocations: 1.727 MB / 1.367 GB, free: 10.2 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.03, allocations: 51.41 kB / 1.367 GB, free: 10.14 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/1.031, allocations: 308.5 kB / 1.368 GB, free: 9.832 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.252e-05/1.031, allocations: 29.7 kB / 1.368 GB, free: 9.797 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.031, allocations: 164.2 kB / 1.368 GB, free: 9.633 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.031, allocations: 86.75 kB / 1.368 GB, free: 9.547 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/1.031, allocations: 73.92 kB / 1.368 GB, free: 9.465 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.031, allocations: 350.7 kB / 1.368 GB, free: 9.113 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.032, allocations: 200.4 kB / 1.368 GB, free: 8.918 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.034, allocations: 262.9 kB / 1.369 GB, free: 8.641 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.036, allocations: 442.7 kB / 1.369 GB, free: 8.199 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.036, allocations: 4 kB / 1.369 GB, free: 8.195 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007126/1.043, allocations: 0.8927 MB / 1.37 GB, free: 7.289 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.043, allocations: 7.984 kB / 1.37 GB, free: 7.281 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.043, allocations: 0 / 1.37 GB, free: 7.281 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.045, allocations: 285.4 kB / 1.37 GB, free: 6.996 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/1.045, allocations: 59.94 kB / 1.37 GB, free: 6.938 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.06, allocations: 4.086 MB / 1.374 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/1.061, allocations: 71.52 kB / 1.374 GB, free: 2.504 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/1.061, allocations: 27.95 kB / 1.374 GB, free: 2.477 MB / 1.092 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.0002422/1.062, allocations: 145.7 kB / 1.375 GB, free: 2.324 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/1.062, allocations: 31.61 kB / 1.375 GB, free: 2.293 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007409/1.069, allocations: 0.9495 MB / 1.375 GB, free: 1.332 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.069, allocations: 7.984 kB / 1.376 GB, free: 1.324 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.069, allocations: 0 / 1.376 GB, free: 1.324 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.069, allocations: 0 / 1.376 GB, free: 1.324 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/1.07, allocations: 424.7 kB / 1.376 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.07, allocations: 4 kB / 1.376 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/1.07, allocations: 59.89 kB / 1.376 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/1.072, allocations: 273.4 kB / 1.376 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/1.072, allocations: 15.97 kB / 1.376 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/1.087, allocations: 4.072 MB / 1.38 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.087, allocations: 0 / 1.38 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/1.094, allocations: 0.9611 MB / 1.381 GB, free: 11.17 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/1.094, allocations: 112.7 kB / 1.381 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/1.094, allocations: 7.938 kB / 1.381 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/1.095, allocations: 43.95 kB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.095, allocations: 23.91 kB / 1.381 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/1.095, allocations: 23.91 kB / 1.381 GB, free: 10.94 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002408/1.095, allocations: 227.1 kB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.095, allocations: 0 / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006212/1.096, allocations: 115.9 kB / 1.382 GB, free: 10.61 MB / 1.107 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.0002361/1.096, allocations: 115.2 kB / 1.382 GB, free: 10.49 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002857/1.099, allocations: 0.7312 MB / 1.383 GB, free: 9.73 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.099, allocations: 0 / 1.383 GB, free: 9.73 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.101, allocations: 0.4933 MB / 1.383 GB, free: 9.211 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/1.101, allocations: 109.2 kB / 1.383 GB, free: 9.105 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.104, allocations: 0.716 MB / 1.384 GB, free: 8.352 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/1.104, allocations: 0.7723 MB / 1.385 GB, free: 7.555 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/1.105, allocations: 39.41 kB / 1.385 GB, free: 7.516 MB / 1.107 GB Notification: Performance of SimCode: time 7.51e-07/1.105, allocations: 3.938 kB / 1.385 GB, free: 7.512 MB / 1.107 GB Notification: Performance of Templates: time 0.01175/1.116, allocations: 8.317 MB / 1.393 GB, free: 15.21 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches