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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001858/0.001858, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.92 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003176/0.3038, allocations: 2.366 MB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.4529, allocations: 149.7 MB / 1.201 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.4533, allocations: 7.938 kB / 1.201 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.4535, allocations: 27.72 kB / 1.201 GB, free: 148 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.454, allocations: 91.31 kB / 1.201 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.4549, allocations: 267.2 kB / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.4554, allocations: 407.7 kB / 1.201 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.4557, allocations: 106 kB / 1.201 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.4579, allocations: 252 kB / 1.202 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.4582, allocations: 175.2 kB / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.4583, allocations: 16 kB / 1.202 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005721/0.4588, allocations: 267.6 kB / 1.202 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.4589, allocations: 67.72 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.4591, allocations: 147.2 kB / 1.202 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.4597, allocations: 478.6 kB / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4597, allocations: 0 / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.267e-06/0.4597, allocations: 0 / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.4598, allocations: 3.938 kB / 1.203 GB, free: 13.93 MB / 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.001608/0.4614, allocations: 0.6978 MB / 1.203 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4614, allocations: 12.03 kB / 1.204 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.4645, allocations: 255.5 kB / 1.204 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4649, allocations: 299.3 kB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.465, allocations: 20.56 kB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.465, allocations: 24 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.4667, allocations: 436.5 kB / 1.204 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4667, allocations: 0 / 1.204 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.4668, allocations: 12 kB / 1.205 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4668, allocations: 7.938 kB / 1.205 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.4693, allocations: 0.5213 MB / 1.205 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.4725, allocations: 1.128 MB / 1.206 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.4749, allocations: 466.3 kB / 1.207 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.476, allocations: 232.6 kB / 1.207 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.4761, allocations: 8 kB / 1.207 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.4761, allocations: 42.56 kB / 1.207 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.4761, allocations: 0 / 1.207 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.01672/0.4928, allocations: 1.72 MB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4929, allocations: 59.39 kB / 1.209 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.4933, allocations: 308.5 kB / 1.209 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.4934, allocations: 33.7 kB / 1.209 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4936, allocations: 168.2 kB / 1.209 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4937, allocations: 90.73 kB / 1.209 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.4939, allocations: 69.92 kB / 1.209 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.494, allocations: 346.8 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.4951, allocations: 200.4 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.4962, allocations: 262.9 kB / 1.21 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.4984, allocations: 430.2 kB / 1.21 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4984, allocations: 0 / 1.21 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007412/0.5058, allocations: 0.9087 MB / 1.211 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5058, allocations: 8 kB / 1.211 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5059, allocations: 4 kB / 1.211 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.5078, allocations: 269.4 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.5083, allocations: 71.88 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.5222, allocations: 3.788 MB / 1.215 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.5231, allocations: 71.61 kB / 1.215 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/0.5232, allocations: 19.97 kB / 1.215 GB, free: 460 kB / 0.9669 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.0003066/0.5235, allocations: 153.6 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.5237, allocations: 31.62 kB / 1.216 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007314/0.531, allocations: 0.9425 MB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.531, allocations: 0 / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5311, allocations: 3.938 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5311, allocations: 0 / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.5317, allocations: 440.6 kB / 1.217 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5317, allocations: 0 / 1.217 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.5321, allocations: 51.89 kB / 1.217 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.5339, allocations: 281.4 kB / 1.217 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.534, allocations: 15.97 kB / 1.217 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.5476, allocations: 3.782 MB / 1.221 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5476, allocations: 0 / 1.221 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007063/0.5547, allocations: 0.9541 MB / 1.222 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.5548, allocations: 112.7 kB / 1.222 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.5549, allocations: 4 kB / 1.222 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.5557, allocations: 47.89 kB / 1.222 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5558, allocations: 27.91 kB / 1.222 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.5559, allocations: 15.91 kB / 1.222 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002473/0.5561, allocations: 227.1 kB / 1.222 GB, free: 9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5561, allocations: 0 / 1.222 GB, free: 9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006635/0.5568, allocations: 115.9 kB / 1.222 GB, free: 8.887 MB / 0.9825 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.000241/0.5571, allocations: 119.2 kB / 1.223 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.5599, allocations: 0.7156 MB / 1.223 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5599, allocations: 0 / 1.223 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.5615, allocations: 0.4933 MB / 1.224 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.5622, allocations: 105.2 kB / 1.224 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.5649, allocations: 0.7786 MB / 1.225 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.5653, allocations: 0.7684 MB / 1.225 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005078/0.5658, allocations: 78.88 kB / 1.225 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.5659, allocations: 35.41 kB / 1.225 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of SimCode: time 2.424e-06/0.566, allocations: 0 / 1.225 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of Templates: time 0.022/0.588, allocations: 12.98 MB / 1.238 GB, free: 8.773 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