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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00116/0.00116, allocations: 196.2 kB / 16.14 MB, free: 6.66 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 69.81 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3296, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003697/0.3333, allocations: 2.36 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.4979, allocations: 149.7 MB / 1.216 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.4982, allocations: 0 / 1.216 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.4984, allocations: 35.66 kB / 1.216 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.4988, allocations: 91.38 kB / 1.216 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.4995, allocations: 259.2 kB / 1.216 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.4999, allocations: 411.8 kB / 1.217 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.5001, allocations: 100.6 kB / 1.217 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.502, allocations: 270.7 kB / 1.217 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.5023, allocations: 167.3 kB / 1.217 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.5024, allocations: 16 kB / 1.217 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.5029, allocations: 271.5 kB / 1.218 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.503, allocations: 63.75 kB / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.5032, allocations: 155.2 kB / 1.218 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.5037, allocations: 478.5 kB / 1.218 GB, free: 16 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5038, allocations: 0 / 1.218 GB, free: 16 kB / 0.9669 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5038, allocations: 0 / 1.218 GB, free: 16 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5038, allocations: 0 / 1.218 GB, free: 16 kB / 0.9669 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.001623/0.5054, allocations: 0.6939 MB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5055, allocations: 12.03 kB / 1.219 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.5086, allocations: 259.5 kB / 1.219 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.5091, allocations: 307.1 kB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.5091, allocations: 20.56 kB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.5092, allocations: 28 kB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.5107, allocations: 428.5 kB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5108, allocations: 0 / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.5108, allocations: 8 kB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5108, allocations: 11.94 kB / 1.22 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.5133, allocations: 0.5252 MB / 1.22 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.5166, allocations: 1.124 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.519, allocations: 462.2 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.5201, allocations: 236.7 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.5202, allocations: 8.375 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.5202, allocations: 34.56 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/0.5202, allocations: 0 / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01698/0.5372, allocations: 1.723 MB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.5373, allocations: 63.39 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.5377, allocations: 296.6 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.5378, allocations: 29.7 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.538, allocations: 172.2 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5381, allocations: 86.75 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.5382, allocations: 77.86 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5384, allocations: 342.8 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.5394, allocations: 200.4 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.5405, allocations: 262.8 kB / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.5426, allocations: 442.7 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5427, allocations: 4 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007307/0.55, allocations: 0.8927 MB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.55, allocations: 8 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5501, allocations: 0 / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/0.5521, allocations: 277.4 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.5527, allocations: 67.88 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.5677, allocations: 3.797 MB / 1.231 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009385/0.5687, allocations: 67.55 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.5688, allocations: 23.97 kB / 1.231 GB, free: 2.527 MB / 0.9825 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.0002456/0.569, allocations: 142.6 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.5691, allocations: 35.61 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007729/0.5769, allocations: 0.9457 MB / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.5769, allocations: 4 kB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5769, allocations: 11.88 kB / 1.232 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.577, allocations: 0 / 1.232 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.5777, allocations: 428.9 kB / 1.232 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5777, allocations: 0 / 1.232 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.5781, allocations: 47.95 kB / 1.232 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/0.5801, allocations: 281.4 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.5801, allocations: 11.97 kB / 1.233 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/0.5946, allocations: 3.778 MB / 1.236 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5946, allocations: 4.094 kB / 1.236 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/0.6021, allocations: 0.9611 MB / 1.237 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.6023, allocations: 120.6 kB / 1.237 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.6024, allocations: 11.92 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008021/0.6032, allocations: 39.95 kB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6034, allocations: 23.91 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.6034, allocations: 19.97 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002806/0.6037, allocations: 223.1 kB / 1.238 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6037, allocations: 0 / 1.238 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007142/0.6044, allocations: 108 kB / 1.238 GB, free: 10.98 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.000261/0.6047, allocations: 123.2 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.6076, allocations: 0.7118 MB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6077, allocations: 4.125 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.6093, allocations: 0.497 MB / 1.239 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.61, allocations: 109.2 kB / 1.239 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.6129, allocations: 0.7631 MB / 1.24 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.6132, allocations: 0.7684 MB / 1.241 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.6138, allocations: 78.88 kB / 1.241 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.6139, allocations: 39.41 kB / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.6139, allocations: 0 / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.5572/1.171, allocations: 12.96 MB / 1.254 GB, free: 184.7 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