Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001831/0.001831, allocations: 117.7 kB / 17.13 MB, free: 6.047 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.002178/0.002178, allocations: 209.8 kB / 20.09 MB, free: 3.098 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.952/2.952, allocations: 0.49 GB / 0.7923 GB, free: 1.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002091/0.002091, allocations: 67.91 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.149, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002856/1.151, allocations: 2.324 MB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2074/1.359, allocations: 155.3 MB / 1.476 GB, free: 5.492 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004806/1.359, allocations: 8.219 kB / 1.476 GB, free: 5.488 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/1.36, allocations: 49.3 kB / 1.476 GB, free: 5.441 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000527/1.36, allocations: 94.95 kB / 1.476 GB, free: 5.363 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/1.361, allocations: 307.6 kB / 1.476 GB, free: 5.129 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005582/1.362, allocations: 428.7 kB / 1.477 GB, free: 4.875 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/1.362, allocations: 79.75 kB / 1.477 GB, free: 4.828 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/1.364, allocations: 291.3 kB / 1.477 GB, free: 4.691 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/1.364, allocations: 177.5 kB / 1.477 GB, free: 4.574 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/1.364, allocations: 30.44 kB / 1.477 GB, free: 4.574 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/1.365, allocations: 300.5 kB / 1.478 GB, free: 4.426 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/1.365, allocations: 79.8 kB / 1.478 GB, free: 4.359 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/1.365, allocations: 166.4 kB / 1.478 GB, free: 4.242 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/1.366, allocations: 0.4915 MB / 1.478 GB, free: 3.914 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.366, allocations: 0 / 1.478 GB, free: 3.914 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.305e-06/1.366, allocations: 1.5 kB / 1.478 GB, free: 3.914 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.366, allocations: 0 / 1.478 GB, free: 3.914 MB / 1.154 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.001934/1.368, allocations: 0.7156 MB / 1.479 GB, free: 3.305 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.368, allocations: 13.42 kB / 1.479 GB, free: 3.301 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/1.371, allocations: 292.5 kB / 1.479 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/1.372, allocations: 305.6 kB / 1.48 GB, free: 2.879 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/1.372, allocations: 22.81 kB / 1.48 GB, free: 2.867 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/1.372, allocations: 26.59 kB / 1.48 GB, free: 2.859 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/1.374, allocations: 430.5 kB / 1.48 GB, free: 2.598 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.374, allocations: 1.125 kB / 1.48 GB, free: 2.598 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/1.374, allocations: 9.312 kB / 1.48 GB, free: 2.59 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/1.374, allocations: 11.56 kB / 1.48 GB, free: 2.586 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/1.376, allocations: 0.5206 MB / 1.481 GB, free: 2.332 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/1.379, allocations: 1.143 MB / 1.482 GB, free: 1.457 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/1.382, allocations: 439.2 kB / 1.482 GB, free: 1.234 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/1.383, allocations: 216.9 kB / 1.482 GB, free: 1.125 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/1.383, allocations: 6.953 kB / 1.482 GB, free: 1.121 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.383, allocations: 35.66 kB / 1.482 GB, free: 1.078 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.033e-06/1.383, allocations: 4 kB / 1.482 GB, free: 1.074 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01683/1.4, allocations: 1.729 MB / 1.484 GB, free: 140 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/1.4, allocations: 53.78 kB / 1.484 GB, free: 76 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/1.4, allocations: 306.1 kB / 1.484 GB, free: 15.88 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/1.4, allocations: 31.11 kB / 1.484 GB, free: 15.84 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/1.401, allocations: 174.2 kB / 1.485 GB, free: 15.68 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.401, allocations: 89.72 kB / 1.485 GB, free: 15.6 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/1.401, allocations: 77.92 kB / 1.485 GB, free: 15.54 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.401, allocations: 346.4 kB / 1.485 GB, free: 15.2 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/1.402, allocations: 201.9 kB / 1.485 GB, free: 15.1 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/1.403, allocations: 261.4 kB / 1.485 GB, free: 14.94 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/1.406, allocations: 432.6 kB / 1.486 GB, free: 14.71 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.406, allocations: 0 / 1.486 GB, free: 14.71 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007596/1.413, allocations: 0.8925 MB / 1.487 GB, free: 14.26 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.413, allocations: 7.719 kB / 1.487 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.413, allocations: 5.188 kB / 1.487 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/1.415, allocations: 279.6 kB / 1.487 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/1.416, allocations: 70.38 kB / 1.487 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/1.432, allocations: 4.102 MB / 1.491 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/1.433, allocations: 74.94 kB / 1.491 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/1.433, allocations: 21.16 kB / 1.491 GB, free: 10.45 MB / 1.17 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.0002339/1.433, allocations: 138.1 kB / 1.491 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.433, allocations: 30.72 kB / 1.491 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00766/1.441, allocations: 0.9443 MB / 1.492 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/1.441, allocations: 7.344 kB / 1.492 GB, free: 9.773 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.441, allocations: 0 / 1.492 GB, free: 9.773 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.441, allocations: 1.125 kB / 1.492 GB, free: 9.773 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007062/1.442, allocations: 422.4 kB / 1.493 GB, free: 9.395 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.442, allocations: 5.031 kB / 1.493 GB, free: 9.391 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/1.442, allocations: 52.89 kB / 1.493 GB, free: 9.375 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/1.444, allocations: 282.5 kB / 1.493 GB, free: 9.227 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/1.444, allocations: 20.28 kB / 1.493 GB, free: 9.211 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/1.46, allocations: 4.077 MB / 1.497 GB, free: 5.113 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.46, allocations: 0 / 1.497 GB, free: 5.113 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007683/1.467, allocations: 0.9622 MB / 1.498 GB, free: 4.129 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/1.468, allocations: 116.8 kB / 1.498 GB, free: 3.996 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/1.468, allocations: 8 kB / 1.498 GB, free: 3.988 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/1.468, allocations: 43.95 kB / 1.498 GB, free: 3.945 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.469, allocations: 15.97 kB / 1.498 GB, free: 3.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/1.469, allocations: 23.91 kB / 1.498 GB, free: 3.906 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002902/1.469, allocations: 223.1 kB / 1.498 GB, free: 3.691 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/1.469, allocations: 0 / 1.498 GB, free: 3.691 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006687/1.47, allocations: 115.9 kB / 1.498 GB, free: 3.578 MB / 1.17 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.0002533/1.47, allocations: 127.1 kB / 1.499 GB, free: 3.445 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003041/1.473, allocations: 0.7078 MB / 1.499 GB, free: 2.711 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.473, allocations: 0 / 1.499 GB, free: 2.711 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.475, allocations: 497.2 kB / 1.5 GB, free: 2.199 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/1.475, allocations: 109.2 kB / 1.5 GB, free: 2.09 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/1.478, allocations: 0.7293 MB / 1.501 GB, free: 1.332 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/1.478, allocations: 0.7684 MB / 1.501 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/1.479, allocations: 39.41 kB / 1.501 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of SimCode: time 5.01e-07/1.479, allocations: 0 / 1.501 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of Templates: time 0.01227/1.491, allocations: 8.335 MB / 1.51 GB, free: 8.172 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.727183876995696]