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.001975/0.001975, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002292/0.002292, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.5/1.5, allocations: 230.5 MB / 252.8 MB, free: 9.141 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.206/3.206, allocations: 0.4899 GB / 0.7915 GB, free: 33.49 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.002038/0.002038, allocations: 67.61 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.329, allocations: 176.1 MB / 1.321 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003783/0.3327, allocations: 2.334 MB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.5249, allocations: 155.3 MB / 1.475 GB, free: 4.613 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.5252, allocations: 7.938 kB / 1.475 GB, free: 4.605 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.5255, allocations: 47.45 kB / 1.475 GB, free: 4.559 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.5259, allocations: 95.2 kB / 1.475 GB, free: 4.465 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.5267, allocations: 303 kB / 1.476 GB, free: 4.168 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.5272, allocations: 431.8 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.5274, allocations: 75.72 kB / 1.476 GB, free: 3.668 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.5289, allocations: 293.7 kB / 1.476 GB, free: 3.406 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.5292, allocations: 175.3 kB / 1.477 GB, free: 3.234 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.5292, allocations: 35.94 kB / 1.477 GB, free: 3.199 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.5298, allocations: 295.5 kB / 1.477 GB, free: 2.91 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.5299, allocations: 79.73 kB / 1.477 GB, free: 2.832 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.5301, allocations: 159.2 kB / 1.477 GB, free: 2.676 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.5308, allocations: 0.498 MB / 1.478 GB, free: 2.176 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5308, allocations: 0 / 1.478 GB, free: 2.176 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5308, allocations: 0 / 1.478 GB, free: 2.176 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.5308, allocations: 0 / 1.478 GB, free: 2.176 MB / 1.17 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.001616/0.5324, allocations: 0.7166 MB / 1.478 GB, free: 1.406 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5325, allocations: 11.98 kB / 1.478 GB, free: 1.395 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.5355, allocations: 291.6 kB / 1.479 GB, free: 1.109 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.536, allocations: 311.3 kB / 1.479 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.536, allocations: 28.55 kB / 1.479 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.5361, allocations: 24 kB / 1.479 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5376, allocations: 428.5 kB / 1.479 GB, free: 296 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5376, allocations: 0 / 1.479 GB, free: 296 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.5377, allocations: 8 kB / 1.479 GB, free: 288 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.5377, allocations: 11.94 kB / 1.479 GB, free: 276 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.5401, allocations: 0.5252 MB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.5432, allocations: 1.136 MB / 1.481 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.5455, allocations: 442.3 kB / 1.481 GB, free: 14.11 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5466, allocations: 216.7 kB / 1.482 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.5466, allocations: 7.984 kB / 1.482 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.5467, allocations: 30.56 kB / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.983e-06/0.5467, allocations: 0 / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.01613/0.5628, allocations: 1.737 MB / 1.483 GB, free: 12.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.5628, allocations: 55.41 kB / 1.483 GB, free: 12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.5632, allocations: 308.5 kB / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.5633, allocations: 25.7 kB / 1.484 GB, free: 11.66 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.5634, allocations: 172.4 kB / 1.484 GB, free: 11.49 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.5635, allocations: 87.2 kB / 1.484 GB, free: 11.4 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.5637, allocations: 85.88 kB / 1.484 GB, free: 11.31 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5639, allocations: 342.7 kB / 1.484 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.565, allocations: 208.3 kB / 1.485 GB, free: 10.76 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.5662, allocations: 255 kB / 1.485 GB, free: 10.49 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.5684, allocations: 434.8 kB / 1.485 GB, free: 10.06 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.5684, allocations: 4 kB / 1.485 GB, free: 10.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007275/0.5756, allocations: 0.8968 MB / 1.486 GB, free: 9.145 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5757, allocations: 4 kB / 1.486 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5757, allocations: 0 / 1.486 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.5776, allocations: 281.4 kB / 1.486 GB, free: 8.859 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.5782, allocations: 63.88 kB / 1.486 GB, free: 8.797 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.5937, allocations: 4.11 MB / 1.49 GB, free: 4.406 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/0.5946, allocations: 71.78 kB / 1.49 GB, free: 4.336 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.5947, allocations: 23.97 kB / 1.491 GB, free: 4.312 MB / 1.186 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.0002395/0.5949, allocations: 145.7 kB / 1.491 GB, free: 4.16 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.595, allocations: 27.81 kB / 1.491 GB, free: 4.133 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007322/0.6024, allocations: 0.9418 MB / 1.492 GB, free: 3.18 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6024, allocations: 4 kB / 1.492 GB, free: 3.176 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6024, allocations: 7.938 kB / 1.492 GB, free: 3.168 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6024, allocations: 0 / 1.492 GB, free: 3.168 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.603, allocations: 424.9 kB / 1.492 GB, free: 2.703 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.603, allocations: 0 / 1.492 GB, free: 2.703 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.6034, allocations: 59.95 kB / 1.492 GB, free: 2.645 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.6053, allocations: 277.4 kB / 1.492 GB, free: 2.367 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.6053, allocations: 11.97 kB / 1.492 GB, free: 2.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.6202, allocations: 4.08 MB / 1.496 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6202, allocations: 0 / 1.496 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007138/0.6274, allocations: 0.9533 MB / 1.497 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.6275, allocations: 116.8 kB / 1.497 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.6276, allocations: 4 kB / 1.497 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.6283, allocations: 43.95 kB / 1.497 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.6284, allocations: 27.95 kB / 1.497 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.6284, allocations: 23.91 kB / 1.497 GB, free: 12.78 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002561/0.6287, allocations: 223.1 kB / 1.498 GB, free: 12.56 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6287, allocations: 0 / 1.498 GB, free: 12.56 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006208/0.6293, allocations: 107.9 kB / 1.498 GB, free: 12.46 MB / 1.201 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.0002232/0.6295, allocations: 131 kB / 1.498 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002973/0.6325, allocations: 0.7122 MB / 1.499 GB, free: 11.58 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6325, allocations: 0 / 1.499 GB, free: 11.58 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.6342, allocations: 0.4932 MB / 1.499 GB, free: 11.06 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.6349, allocations: 102.9 kB / 1.499 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.6376, allocations: 0.6956 MB / 1.5 GB, free: 10.25 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.638, allocations: 0.7684 MB / 1.501 GB, free: 9.449 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.6383, allocations: 78.88 kB / 1.501 GB, free: 9.371 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.6385, allocations: 31.42 kB / 1.501 GB, free: 9.34 MB / 1.201 GB Notification: Performance of SimCode: time 5.91e-07/0.6385, allocations: 0 / 1.501 GB, free: 9.34 MB / 1.201 GB Notification: Performance of Templates: time 0.02319/0.6617, allocations: 13.67 MB / 1.514 GB, free: 11.73 MB / 1.217 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/jenkins/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: 9.409033291973174]