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.001185/0.001185, 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.001179/0.001179, allocations: 192.3 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.7 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.02 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2959, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003376/0.2994, allocations: 2.304 MB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.154/0.4534, allocations: 152 MB / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.4537, allocations: 4 kB / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.454, allocations: 47.47 kB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.4545, allocations: 99.2 kB / 1.219 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.4554, allocations: 303 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.4559, allocations: 427.8 kB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.4562, allocations: 104 kB / 1.22 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.4576, allocations: 280.6 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.4579, allocations: 187.2 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.285e-05/0.458, allocations: 32 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.4586, allocations: 275.6 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.536e-05/0.4587, allocations: 79.73 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.4589, allocations: 167.2 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.4596, allocations: 486.6 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4596, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.508e-06/0.4596, allocations: 4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.4596, allocations: 0 / 1.221 GB, free: 13.07 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.001569/0.4612, allocations: 0.6978 MB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4612, allocations: 11.97 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/0.4641, allocations: 263.5 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.4645, allocations: 295.2 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4645, allocations: 20.56 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.4646, allocations: 28 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.4661, allocations: 432.5 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4661, allocations: 4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.4662, allocations: 8 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4662, allocations: 11.94 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.4686, allocations: 0.5252 MB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.4717, allocations: 1.128 MB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.4741, allocations: 469 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4752, allocations: 229.1 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.4752, allocations: 11.98 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4753, allocations: 38.55 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.4753, allocations: 0 / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01658/0.4919, allocations: 1.723 MB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4919, allocations: 55.41 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.4923, allocations: 304.6 kB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.4923, allocations: 29.7 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4925, allocations: 172.2 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.4926, allocations: 82.75 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.4928, allocations: 81.86 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4929, allocations: 342.7 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.494, allocations: 204.4 kB / 1.228 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4951, allocations: 258.9 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.4973, allocations: 438.8 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4973, allocations: 0 / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007103/0.5044, allocations: 0.8927 MB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5045, allocations: 11.98 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5045, allocations: 4 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.5064, allocations: 273.4 kB / 1.23 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.5069, allocations: 71.88 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.5216, allocations: 4.096 MB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008755/0.5225, allocations: 67.55 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.5227, allocations: 15.97 kB / 1.234 GB, free: 15.27 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.0002785/0.523, allocations: 145.8 kB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5231, allocations: 31.62 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00723/0.5303, allocations: 0.9506 MB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5303, allocations: 4 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5303, allocations: 7.984 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.5303, allocations: 4 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.5309, allocations: 428.8 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5309, allocations: 0 / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.5313, allocations: 55.89 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.5332, allocations: 281.4 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.5332, allocations: 11.91 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.5474, allocations: 4.076 MB / 1.24 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5475, allocations: 4.062 kB / 1.24 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/0.5545, allocations: 0.9665 MB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5547, allocations: 112.7 kB / 1.241 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.5547, allocations: 0 / 1.241 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.5555, allocations: 43.95 kB / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.5556, allocations: 23.97 kB / 1.241 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.5556, allocations: 19.91 kB / 1.241 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002271/0.5559, allocations: 223.1 kB / 1.241 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5559, allocations: 0 / 1.241 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005872/0.5565, allocations: 112 kB / 1.241 GB, free: 7.406 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.0002174/0.5567, allocations: 124.1 kB / 1.242 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.5596, allocations: 0.7439 MB / 1.242 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5596, allocations: 4.125 kB / 1.242 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.5612, allocations: 0.5014 MB / 1.243 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.5618, allocations: 110.8 kB / 1.243 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.5644, allocations: 0.6926 MB / 1.244 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.5647, allocations: 0.7684 MB / 1.244 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004757/0.5652, allocations: 82.81 kB / 1.244 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.5653, allocations: 35.41 kB / 1.244 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.5653, allocations: 0 / 1.244 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of Templates: time 0.5077/1.073, allocations: 13.53 MB / 1.258 GB, free: 184.8 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