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.001687/0.001687, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001911/0.001911, allocations: 222 kB / 23.01 MB, free: 4.609 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.213/3.213, allocations: 0.49 GB / 0.7958 GB, free: 33.26 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.002059/0.002059, allocations: 70.39 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003948/0.3553, allocations: 2.347 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1957/0.551, allocations: 155.4 MB / 1.481 GB, free: 3.156 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.5512, allocations: 7.938 kB / 1.481 GB, free: 3.148 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.5515, allocations: 47.45 kB / 1.481 GB, free: 3.102 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.5519, allocations: 99.2 kB / 1.481 GB, free: 3.004 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/0.5528, allocations: 306.9 kB / 1.482 GB, free: 2.703 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.5534, allocations: 435.7 kB / 1.482 GB, free: 2.27 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.5536, allocations: 76.28 kB / 1.482 GB, free: 2.191 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.5551, allocations: 288 kB / 1.482 GB, free: 1.934 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.5554, allocations: 191.2 kB / 1.483 GB, free: 1.746 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.5555, allocations: 28 kB / 1.483 GB, free: 1.719 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.5561, allocations: 295.5 kB / 1.483 GB, free: 1.43 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.5562, allocations: 71.75 kB / 1.483 GB, free: 1.359 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.5564, allocations: 163.2 kB / 1.483 GB, free: 1.199 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.5571, allocations: 0.4942 MB / 1.484 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.5571, allocations: 4 kB / 1.484 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5571, allocations: 0 / 1.484 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5571, allocations: 0 / 1.484 GB, free: 0.6992 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.001562/0.5587, allocations: 0.647 MB / 1.484 GB, free: 24 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5587, allocations: 8.031 kB / 1.484 GB, free: 16 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.5619, allocations: 287.6 kB / 1.484 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.5624, allocations: 249.6 kB / 1.485 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.5624, allocations: 20.66 kB / 1.485 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.5624, allocations: 28 kB / 1.485 GB, free: 15.42 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.564, allocations: 429.8 kB / 1.485 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.564, allocations: 0 / 1.485 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.564, allocations: 15.94 kB / 1.485 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.564, allocations: 7.938 kB / 1.485 GB, free: 14.97 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.5664, allocations: 0.5217 MB / 1.486 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.5698, allocations: 1.108 MB / 1.487 GB, free: 13.29 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.5722, allocations: 438.4 kB / 1.487 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.5733, allocations: 220.7 kB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.5733, allocations: 400 / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.5734, allocations: 34.56 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.5734, allocations: 0 / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.01649/0.5899, allocations: 1.589 MB / 1.489 GB, free: 10.99 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.5899, allocations: 51.41 kB / 1.489 GB, free: 10.93 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.5903, allocations: 308.6 kB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.5904, allocations: 29.7 kB / 1.489 GB, free: 10.59 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5905, allocations: 172.5 kB / 1.49 GB, free: 10.41 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5906, allocations: 91.22 kB / 1.49 GB, free: 10.32 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.5908, allocations: 73.88 kB / 1.49 GB, free: 10.24 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.591, allocations: 346.8 kB / 1.49 GB, free: 9.895 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.5921, allocations: 208.3 kB / 1.49 GB, free: 9.691 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5932, allocations: 255 kB / 1.49 GB, free: 9.422 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.5954, allocations: 438.8 kB / 1.491 GB, free: 8.984 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5954, allocations: 0 / 1.491 GB, free: 8.984 MB / 1.186 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007234/0.6026, allocations: 0.889 MB / 1.492 GB, free: 8.082 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.6027, allocations: 7.938 kB / 1.492 GB, free: 8.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6027, allocations: 0 / 1.492 GB, free: 8.074 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.6046, allocations: 285.4 kB / 1.492 GB, free: 7.789 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.6051, allocations: 63.89 kB / 1.492 GB, free: 7.727 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.6204, allocations: 3.895 MB / 1.496 GB, free: 3.602 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.6213, allocations: 83.62 kB / 1.496 GB, free: 3.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.6214, allocations: 19.95 kB / 1.496 GB, free: 3.5 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.0002371/0.6216, allocations: 137.8 kB / 1.496 GB, free: 3.355 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.6217, allocations: 35.77 kB / 1.496 GB, free: 3.32 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/0.6292, allocations: 0.9388 MB / 1.497 GB, free: 2.367 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.6292, allocations: 4 kB / 1.497 GB, free: 2.363 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.6292, allocations: 7.938 kB / 1.497 GB, free: 2.355 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6292, allocations: 0 / 1.497 GB, free: 2.355 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.6298, allocations: 400 kB / 1.497 GB, free: 1.922 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6298, allocations: 0 / 1.497 GB, free: 1.922 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.6302, allocations: 47.95 kB / 1.497 GB, free: 1.875 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.6321, allocations: 285.4 kB / 1.498 GB, free: 1.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.6321, allocations: 11.97 kB / 1.498 GB, free: 1.578 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/0.6469, allocations: 3.882 MB / 1.502 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6469, allocations: 0 / 1.502 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007198/0.6541, allocations: 0.9651 MB / 1.503 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.6542, allocations: 27.77 kB / 1.503 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.6543, allocations: 15.94 kB / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.655, allocations: 39.95 kB / 1.503 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.6551, allocations: 27.95 kB / 1.503 GB, free: 12.37 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.6552, allocations: 15.91 kB / 1.503 GB, free: 12.35 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003232/0.6555, allocations: 231 kB / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6555, allocations: 0 / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006311/0.6561, allocations: 111.9 kB / 1.503 GB, free: 12.02 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.0002594/0.6564, allocations: 131.2 kB / 1.503 GB, free: 11.88 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.6592, allocations: 0.7117 MB / 1.504 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/0.6593, allocations: 0 / 1.504 GB, free: 11.14 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.6609, allocations: 0.4932 MB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.6615, allocations: 103.8 kB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.6643, allocations: 0.7165 MB / 1.505 GB, free: 9.777 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.6647, allocations: 0.7684 MB / 1.506 GB, free: 8.98 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.6649, allocations: 43.41 kB / 1.506 GB, free: 8.938 MB / 1.201 GB Notification: Performance of SimCode: time 7.21e-07/0.6649, allocations: 0 / 1.506 GB, free: 8.938 MB / 1.201 GB Notification: Performance of Templates: time 0.01283/0.6777, allocations: 8.351 MB / 1.514 GB, free: 0.6016 MB / 1.201 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.08801167999627]