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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.272/3.272, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 70.91 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4451, allocations: 181.9 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00433/0.4494, allocations: 2.202 MB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1959/0.6453, allocations: 133.6 MB / 1.497 GB, free: 5.316 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.6456, allocations: 11.94 kB / 1.497 GB, free: 5.305 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.6458, allocations: 43.47 kB / 1.497 GB, free: 5.262 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.6462, allocations: 99.19 kB / 1.497 GB, free: 5.164 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.647, allocations: 303 kB / 1.498 GB, free: 4.867 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.6475, allocations: 431.6 kB / 1.498 GB, free: 4.441 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.6477, allocations: 80.27 kB / 1.498 GB, free: 4.359 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.6492, allocations: 282.8 kB / 1.498 GB, free: 4.102 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.6495, allocations: 171.2 kB / 1.499 GB, free: 3.934 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.6496, allocations: 35.94 kB / 1.499 GB, free: 3.898 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.6501, allocations: 259.6 kB / 1.499 GB, free: 3.645 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.6502, allocations: 79.73 kB / 1.499 GB, free: 3.566 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.6504, allocations: 135.4 kB / 1.499 GB, free: 3.434 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007005/0.6511, allocations: 0.4902 MB / 1.5 GB, free: 2.941 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6511, allocations: 0 / 1.5 GB, free: 2.941 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6511, allocations: 4 kB / 1.5 GB, free: 2.938 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6511, allocations: 0 / 1.5 GB, free: 2.938 MB / 1.186 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.001465/0.6525, allocations: 0.6414 MB / 1.5 GB, free: 2.266 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6526, allocations: 8.031 kB / 1.5 GB, free: 2.258 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.6558, allocations: 319.6 kB / 1.5 GB, free: 1.945 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.6562, allocations: 245.6 kB / 1.501 GB, free: 1.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.6563, allocations: 24.59 kB / 1.501 GB, free: 1.656 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.6563, allocations: 24 kB / 1.501 GB, free: 1.633 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.6578, allocations: 437.7 kB / 1.501 GB, free: 1.203 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6578, allocations: 0 / 1.501 GB, free: 1.203 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.6578, allocations: 16 kB / 1.501 GB, free: 1.188 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.6579, allocations: 11.94 kB / 1.501 GB, free: 1.176 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.6601, allocations: 0.5256 MB / 1.502 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.6631, allocations: 0.9641 MB / 1.503 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.6653, allocations: 454.3 kB / 1.503 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.6663, allocations: 212.7 kB / 1.503 GB, free: 14.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.6664, allocations: 7.984 kB / 1.503 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.6664, allocations: 34.56 kB / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.6664, allocations: 0 / 1.503 GB, free: 14.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01493/0.6814, allocations: 1.581 MB / 1.505 GB, free: 13.34 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.6814, allocations: 51.41 kB / 1.505 GB, free: 13.27 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.6817, allocations: 220.9 kB / 1.505 GB, free: 13.05 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.6818, allocations: 33.7 kB / 1.505 GB, free: 13.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.682, allocations: 180.5 kB / 1.505 GB, free: 12.83 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.6821, allocations: 91.2 kB / 1.505 GB, free: 12.74 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.6823, allocations: 77.92 kB / 1.506 GB, free: 12.66 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.6825, allocations: 330.8 kB / 1.506 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.6835, allocations: 204.4 kB / 1.506 GB, free: 12.12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.6846, allocations: 373.7 kB / 1.506 GB, free: 11.71 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.6866, allocations: 438.2 kB / 1.507 GB, free: 11.28 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.6866, allocations: 3.938 kB / 1.507 GB, free: 11.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006592/0.6932, allocations: 0.8934 MB / 1.508 GB, free: 10.37 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6932, allocations: 6.031 kB / 1.508 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6933, allocations: 0 / 1.508 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.6951, allocations: 281.4 kB / 1.508 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.6955, allocations: 67.94 kB / 1.508 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.7096, allocations: 3.814 MB / 1.512 GB, free: 5.996 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.7104, allocations: 59.86 kB / 1.512 GB, free: 5.938 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.7105, allocations: 23.97 kB / 1.512 GB, free: 5.914 MB / 1.201 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.0002529/0.7107, allocations: 149.7 kB / 1.512 GB, free: 5.758 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.7108, allocations: 23.86 kB / 1.512 GB, free: 5.734 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006826/0.7177, allocations: 0.9371 MB / 1.513 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.7177, allocations: 4 kB / 1.513 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7177, allocations: 7.984 kB / 1.513 GB, free: 4.777 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7177, allocations: 7.922 kB / 1.513 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/0.7248, allocations: 1.225 MB / 1.514 GB, free: 3.496 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7249, allocations: 3.984 kB / 1.514 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.7253, allocations: 59.89 kB / 1.514 GB, free: 3.434 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.727, allocations: 277.5 kB / 1.514 GB, free: 3.156 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.7271, allocations: 15.97 kB / 1.514 GB, free: 3.141 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.7412, allocations: 3.816 MB / 1.518 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7412, allocations: 0 / 1.518 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006673/0.7478, allocations: 0.9589 MB / 1.519 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.7479, allocations: 35.78 kB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.748, allocations: 4 kB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000712/0.7487, allocations: 47.89 kB / 1.519 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.7488, allocations: 23.91 kB / 1.519 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.7489, allocations: 23.91 kB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001737/0.749, allocations: 160.5 kB / 1.519 GB, free: 13.84 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.749, allocations: 0 / 1.519 GB, free: 13.84 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006344/0.7497, allocations: 123.8 kB / 1.52 GB, free: 13.72 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000229/0.7499, allocations: 107.2 kB / 1.52 GB, free: 13.61 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002748/0.7527, allocations: 0.7156 MB / 1.52 GB, free: 12.87 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7527, allocations: 0 / 1.52 GB, free: 12.87 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.7542, allocations: 0.4894 MB / 1.521 GB, free: 12.35 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.7547, allocations: 76.69 kB / 1.521 GB, free: 12.28 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.7578, allocations: 0.7859 MB / 1.522 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.7579, allocations: 155.8 kB / 1.522 GB, free: 11.28 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.7581, allocations: 39.41 kB / 1.522 GB, free: 11.24 MB / 1.217 GB Notification: Performance of SimCode: time 7.72e-07/0.7581, allocations: 0 / 1.522 GB, free: 11.24 MB / 1.217 GB Notification: Performance of Templates: time 0.012/0.7701, allocations: 7.899 MB / 1.53 GB, free: 3.348 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.631321385968477]