Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7634 GB, free: 10.96 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=502,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 63.89 kB / 1.108 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.122, allocations: 168.7 MB / 1.272 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004035/1.126, allocations: 2.311 MB / 1.275 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.2053/1.331, allocations: 152.5 MB / 1.424 GB, free: 9.34 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/1.332, allocations: 7.938 kB / 1.424 GB, free: 9.332 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003073/1.332, allocations: 55.45 kB / 1.424 GB, free: 9.277 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004728/1.333, allocations: 91.2 kB / 1.424 GB, free: 9.188 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/1.334, allocations: 311 kB / 1.424 GB, free: 8.883 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/1.334, allocations: 427.8 kB / 1.424 GB, free: 8.461 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/1.334, allocations: 74.41 kB / 1.424 GB, free: 8.383 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/1.336, allocations: 298.1 kB / 1.425 GB, free: 8.113 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/1.336, allocations: 179.2 kB / 1.425 GB, free: 7.938 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/1.336, allocations: 36 kB / 1.425 GB, free: 7.902 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006784/1.337, allocations: 287.5 kB / 1.425 GB, free: 7.621 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/1.337, allocations: 71.73 kB / 1.425 GB, free: 7.551 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/1.337, allocations: 171.2 kB / 1.425 GB, free: 7.383 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007827/1.338, allocations: 497.9 kB / 1.426 GB, free: 6.898 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.338, allocations: 0 / 1.426 GB, free: 6.898 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.172e-06/1.338, allocations: 0 / 1.426 GB, free: 6.898 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.338, allocations: 0 / 1.426 GB, free: 6.898 MB / 1.123 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/1.34, allocations: 0.7127 MB / 1.427 GB, free: 6.137 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.34, allocations: 16.02 kB / 1.427 GB, free: 6.121 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/1.343, allocations: 259.7 kB / 1.427 GB, free: 5.867 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/1.343, allocations: 311.3 kB / 1.427 GB, free: 5.523 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/1.343, allocations: 20.56 kB / 1.427 GB, free: 5.504 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/1.343, allocations: 24 kB / 1.427 GB, free: 5.48 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/1.345, allocations: 432.5 kB / 1.428 GB, free: 5.055 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.345, allocations: 0 / 1.428 GB, free: 5.055 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/1.345, allocations: 8 kB / 1.428 GB, free: 5.047 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.345, allocations: 11.94 kB / 1.428 GB, free: 5.035 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/1.347, allocations: 0.529 MB / 1.428 GB, free: 4.508 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/1.351, allocations: 1.14 MB / 1.429 GB, free: 3.316 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/1.353, allocations: 436 kB / 1.43 GB, free: 2.883 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.354, allocations: 224.6 kB / 1.43 GB, free: 2.66 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/1.354, allocations: 4.391 kB / 1.43 GB, free: 2.656 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.354, allocations: 34.56 kB / 1.43 GB, free: 2.613 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 2.063e-06/1.354, allocations: 4 kB / 1.43 GB, free: 2.609 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01599/1.37, allocations: 1.728 MB / 1.432 GB, free: 0.832 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.37, allocations: 59.34 kB / 1.432 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/1.37, allocations: 308.5 kB / 1.432 GB, free: 468 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/1.371, allocations: 29.7 kB / 1.432 GB, free: 432 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.371, allocations: 172.4 kB / 1.432 GB, free: 256 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/1.371, allocations: 95.2 kB / 1.432 GB, free: 160 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/1.371, allocations: 69.92 kB / 1.432 GB, free: 80 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.371, allocations: 350.7 kB / 1.433 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.372, allocations: 204.4 kB / 1.433 GB, free: 15.53 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.373, allocations: 263.5 kB / 1.433 GB, free: 15.25 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/1.375, allocations: 434.8 kB / 1.434 GB, free: 14.82 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.375, allocations: 0 / 1.434 GB, free: 14.82 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00719/1.383, allocations: 0.8851 MB / 1.434 GB, free: 13.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/1.383, allocations: 4 kB / 1.434 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.383, allocations: 0 / 1.434 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/1.385, allocations: 285.3 kB / 1.435 GB, free: 13.63 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/1.385, allocations: 59.95 kB / 1.435 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.401, allocations: 4.097 MB / 1.439 GB, free: 9.195 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009508/1.402, allocations: 79.7 kB / 1.439 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.402, allocations: 19.97 kB / 1.439 GB, free: 9.098 MB / 1.139 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.0003089/1.402, allocations: 141.8 kB / 1.439 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.402, allocations: 27.81 kB / 1.439 GB, free: 8.922 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00732/1.41, allocations: 0.9502 MB / 1.44 GB, free: 7.957 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.577e-06/1.41, allocations: 8 kB / 1.44 GB, free: 7.949 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.41, allocations: 0 / 1.44 GB, free: 7.949 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/1.41, allocations: 7.969 kB / 1.44 GB, free: 7.941 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/1.41, allocations: 428.7 kB / 1.44 GB, free: 7.473 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.41, allocations: 3.984 kB / 1.44 GB, free: 7.469 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/1.411, allocations: 55.89 kB / 1.44 GB, free: 7.414 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/1.413, allocations: 273.4 kB / 1.441 GB, free: 7.141 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/1.413, allocations: 15.97 kB / 1.441 GB, free: 7.125 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.428, allocations: 4.081 MB / 1.445 GB, free: 2.758 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.428, allocations: 0 / 1.445 GB, free: 2.758 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007235/1.435, allocations: 0.9613 MB / 1.446 GB, free: 1.773 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/1.435, allocations: 112.8 kB / 1.446 GB, free: 1.645 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.435, allocations: 12 kB / 1.446 GB, free: 1.633 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/1.436, allocations: 39.95 kB / 1.446 GB, free: 1.594 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.436, allocations: 23.91 kB / 1.446 GB, free: 1.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/1.437, allocations: 23.91 kB / 1.446 GB, free: 1.547 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004313/1.437, allocations: 219.1 kB / 1.446 GB, free: 1.336 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.437, allocations: 4 kB / 1.446 GB, free: 1.332 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009452/1.438, allocations: 119.8 kB / 1.446 GB, free: 1.215 MB / 1.139 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.0003972/1.438, allocations: 119.2 kB / 1.446 GB, free: 1.09 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003275/1.442, allocations: 0.7198 MB / 1.447 GB, free: 352 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.442, allocations: 0 / 1.447 GB, free: 352 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/1.443, allocations: 493.2 kB / 1.447 GB, free: 15.84 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/1.444, allocations: 117.2 kB / 1.448 GB, free: 15.72 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/1.448, allocations: 0.7236 MB / 1.448 GB, free: 14.97 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/1.448, allocations: 0.7684 MB / 1.449 GB, free: 14.17 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/1.449, allocations: 39.41 kB / 1.449 GB, free: 14.13 MB / 1.154 GB Notification: Performance of SimCode: time 2.084e-06/1.449, allocations: 0 / 1.449 GB, free: 14.13 MB / 1.154 GB Notification: Performance of Templates: time 0.0166/1.465, allocations: 8.351 MB / 1.457 GB, free: 5.797 MB / 1.154 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches