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.001646/0.001646, 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.001822/0.001822, allocations: 215.1 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.305/3.305, allocations: 0.4892 GB / 0.7951 GB, free: 35.74 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.002115/0.002115, allocations: 63.44 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004748/0.3834, allocations: 2.182 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1891/0.5725, allocations: 133.6 MB / 1.459 GB, free: 9.578 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.5729, allocations: 3.938 kB / 1.459 GB, free: 9.574 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.5733, allocations: 47.47 kB / 1.459 GB, free: 9.527 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007144/0.574, allocations: 103.2 kB / 1.459 GB, free: 9.426 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.5752, allocations: 299 kB / 1.459 GB, free: 9.133 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.5759, allocations: 427.7 kB / 1.46 GB, free: 8.707 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.5762, allocations: 84.25 kB / 1.46 GB, free: 8.621 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.578, allocations: 286.1 kB / 1.46 GB, free: 8.363 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.5783, allocations: 171.2 kB / 1.46 GB, free: 8.195 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.5784, allocations: 28 kB / 1.46 GB, free: 8.168 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000653/0.579, allocations: 267.6 kB / 1.461 GB, free: 7.906 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.5792, allocations: 83.72 kB / 1.461 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.5794, allocations: 135.4 kB / 1.461 GB, free: 7.691 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.5802, allocations: 0.4904 MB / 1.461 GB, free: 7.199 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5802, allocations: 7.938 kB / 1.461 GB, free: 7.191 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5802, allocations: 0 / 1.461 GB, free: 7.191 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.5802, allocations: 0 / 1.461 GB, free: 7.191 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.001486/0.5817, allocations: 0.6375 MB / 1.462 GB, free: 6.523 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5818, allocations: 8.031 kB / 1.462 GB, free: 6.516 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.5848, allocations: 287.6 kB / 1.462 GB, free: 6.234 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.5853, allocations: 249.6 kB / 1.462 GB, free: 5.965 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.5853, allocations: 20.66 kB / 1.462 GB, free: 5.945 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.5854, allocations: 24 kB / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.5869, allocations: 433.7 kB / 1.463 GB, free: 5.492 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5869, allocations: 7.984 kB / 1.463 GB, free: 5.484 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.587, allocations: 15.94 kB / 1.463 GB, free: 5.469 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.587, allocations: 11.88 kB / 1.463 GB, free: 5.457 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.5893, allocations: 0.5178 MB / 1.463 GB, free: 4.938 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.5925, allocations: 0.9562 MB / 1.464 GB, free: 3.949 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.5947, allocations: 446.4 kB / 1.465 GB, free: 3.504 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.5957, allocations: 212.7 kB / 1.465 GB, free: 3.293 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.5958, allocations: 7.938 kB / 1.465 GB, free: 3.285 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5958, allocations: 34.56 kB / 1.465 GB, free: 3.242 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.5958, allocations: 4 kB / 1.465 GB, free: 3.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01575/0.6116, allocations: 1.574 MB / 1.467 GB, free: 1.652 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.6116, allocations: 55.39 kB / 1.467 GB, free: 1.586 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.6119, allocations: 216.9 kB / 1.467 GB, free: 1.367 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.612, allocations: 33.7 kB / 1.467 GB, free: 1.328 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.6121, allocations: 176.5 kB / 1.467 GB, free: 1.152 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.6122, allocations: 91.22 kB / 1.467 GB, free: 1.062 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.6124, allocations: 73.92 kB / 1.467 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6126, allocations: 338.8 kB / 1.467 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.6136, allocations: 196.4 kB / 1.468 GB, free: 460 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6148, allocations: 361.8 kB / 1.468 GB, free: 52 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.617, allocations: 442.8 kB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.617, allocations: 3.938 kB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007014/0.624, allocations: 0.889 MB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.624, allocations: 4 kB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.624, allocations: 0 / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.626, allocations: 281.4 kB / 1.47 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.6265, allocations: 71.88 kB / 1.47 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.6416, allocations: 3.804 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/0.6424, allocations: 59.92 kB / 1.473 GB, free: 10.28 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.6425, allocations: 27.91 kB / 1.473 GB, free: 10.25 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.0002342/0.6427, allocations: 145.7 kB / 1.474 GB, free: 10.1 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.6428, allocations: 27.81 kB / 1.474 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007304/0.6501, allocations: 0.9455 MB / 1.475 GB, free: 9.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6501, allocations: 0 / 1.475 GB, free: 9.121 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6501, allocations: 4 kB / 1.475 GB, free: 9.117 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6501, allocations: 0 / 1.475 GB, free: 9.117 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.6507, allocations: 296.8 kB / 1.475 GB, free: 8.797 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.6507, allocations: 3.984 kB / 1.475 GB, free: 8.793 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.6511, allocations: 59.89 kB / 1.475 GB, free: 8.734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.6529, allocations: 277.4 kB / 1.475 GB, free: 8.457 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.653, allocations: 15.97 kB / 1.475 GB, free: 8.441 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/0.6676, allocations: 3.801 MB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6676, allocations: 0 / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007002/0.6746, allocations: 0.9535 MB / 1.48 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.6747, allocations: 31.72 kB / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.493e-05/0.6748, allocations: 4 kB / 1.48 GB, free: 3.422 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.6755, allocations: 43.95 kB / 1.48 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.6756, allocations: 15.97 kB / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.6757, allocations: 19.97 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001914/0.6759, allocations: 168.5 kB / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6759, allocations: 0 / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006305/0.6765, allocations: 123.8 kB / 1.48 GB, free: 3.055 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.000255/0.6768, allocations: 127.3 kB / 1.48 GB, free: 2.922 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.6796, allocations: 0.7156 MB / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6796, allocations: 0 / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.6812, allocations: 0.4933 MB / 1.481 GB, free: 1.66 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.6818, allocations: 76.3 kB / 1.482 GB, free: 1.586 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.6845, allocations: 0.7145 MB / 1.482 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.6846, allocations: 159.7 kB / 1.482 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.6848, allocations: 39.41 kB / 1.482 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of SimCode: time 4.61e-07/0.6848, allocations: 0 / 1.482 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of Templates: time 0.01383/0.6987, allocations: 7.9 MB / 1.49 GB, free: 8.73 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.065526144113392]