Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 489.7 MB / 0.7761 GB, free: 2.555 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=509,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=509,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.89 kB / 1.127 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 172 MB / 1.295 GB, free: 38.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1914/1.236, allocations: 163.5 MB / 1.454 GB, free: 15.91 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007027/1.243, allocations: 3.502 MB / 1.458 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/1.244, allocations: 20.19 kB / 1.458 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/1.245, allocations: 279.6 kB / 1.458 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/1.248, allocations: 0.901 MB / 1.459 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/1.25, allocations: 480.8 kB / 1.46 GB, free: 12.55 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002355/1.252, allocations: 1.108 MB / 1.461 GB, free: 12.04 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005956/1.253, allocations: 279.1 kB / 1.461 GB, free: 11.9 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/1.254, allocations: 461.6 kB / 1.461 GB, free: 11.69 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/1.255, allocations: 371.3 kB / 1.462 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/1.255, allocations: 40.34 kB / 1.462 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/1.257, allocations: 0.7399 MB / 1.462 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/1.258, allocations: 171.9 kB / 1.463 GB, free: 11.18 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/1.258, allocations: 276.2 kB / 1.463 GB, free: 11.01 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/1.26, allocations: 0.9368 MB / 1.464 GB, free: 10.67 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.26, allocations: 0.7031 kB / 1.464 GB, free: 10.67 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.444e-06/1.26, allocations: 1.312 kB / 1.464 GB, free: 10.67 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.26, allocations: 0 / 1.464 GB, free: 10.67 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001867/1.262, allocations: 0.8881 MB / 1.465 GB, free: 9.988 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.262, allocations: 9.312 kB / 1.465 GB, free: 9.988 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.263, allocations: 155.6 kB / 1.465 GB, free: 9.945 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/1.264, allocations: 0.5025 MB / 1.465 GB, free: 9.594 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.264, allocations: 20.12 kB / 1.465 GB, free: 9.586 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/1.264, allocations: 32.25 kB / 1.465 GB, free: 9.574 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/1.265, allocations: 324.2 kB / 1.466 GB, free: 9.422 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.265, allocations: 3.938 kB / 1.466 GB, free: 9.418 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/1.265, allocations: 11.52 kB / 1.466 GB, free: 9.41 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/1.265, allocations: 15.16 kB / 1.466 GB, free: 9.406 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/1.265, allocations: 216.6 kB / 1.466 GB, free: 9.336 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/1.268, allocations: 1.523 MB / 1.467 GB, free: 8.133 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/1.268, allocations: 212.1 kB / 1.468 GB, free: 8.035 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/1.269, allocations: 99.94 kB / 1.468 GB, free: 7.992 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/1.269, allocations: 3.266 kB / 1.468 GB, free: 7.992 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/1.269, allocations: 170.2 kB / 1.468 GB, free: 7.895 MB / 1.154 GB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/1.269, allocations: 0 / 1.468 GB, free: 7.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=29): time 0.003197/1.272, allocations: 1.09 MB / 1.469 GB, free: 7.27 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/1.272, allocations: 59.77 kB / 1.469 GB, free: 7.203 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/1.273, allocations: 470.2 kB / 1.469 GB, free: 6.988 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/1.273, allocations: 31.05 kB / 1.469 GB, free: 6.953 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/1.273, allocations: 236.4 kB / 1.47 GB, free: 6.762 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.273, allocations: 110.5 kB / 1.47 GB, free: 6.676 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/1.273, allocations: 78.34 kB / 1.47 GB, free: 6.629 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.274, allocations: 352.7 kB / 1.47 GB, free: 6.301 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/1.274, allocations: 127 kB / 1.47 GB, free: 6.254 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/1.274, allocations: 185.4 kB / 1.47 GB, free: 6.148 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/1.275, allocations: 311.2 kB / 1.471 GB, free: 5.973 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.275, allocations: 0 / 1.471 GB, free: 5.973 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001096/1.276, allocations: 487.1 kB / 1.471 GB, free: 5.758 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.276, allocations: 5.906 kB / 1.471 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.276, allocations: 5.281 kB / 1.471 GB, free: 5.754 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/1.276, allocations: 81.47 kB / 1.471 GB, free: 5.727 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/1.276, allocations: 67.2 kB / 1.471 GB, free: 5.719 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/1.279, allocations: 1.908 MB / 1.473 GB, free: 3.969 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/1.279, allocations: 14.09 kB / 1.473 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/1.279, allocations: 14.23 kB / 1.473 GB, free: 3.957 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000361/1.279, allocations: 192.3 kB / 1.473 GB, free: 3.801 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.28, allocations: 51.52 kB / 1.473 GB, free: 3.773 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/1.281, allocations: 411 kB / 1.474 GB, free: 3.578 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.281, allocations: 2.406 kB / 1.474 GB, free: 3.578 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.281, allocations: 6.625 kB / 1.474 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.281, allocations: 0.75 kB / 1.474 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/1.282, allocations: 0.9615 MB / 1.475 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.282, allocations: 8.688 kB / 1.475 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/1.283, allocations: 65.55 kB / 1.475 GB, free: 2.988 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/1.283, allocations: 74.3 kB / 1.475 GB, free: 2.965 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/1.283, allocations: 8 kB / 1.475 GB, free: 2.961 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.285, allocations: 1.659 MB / 1.477 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.285, allocations: 1.281 kB / 1.477 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/1.287, allocations: 0.5701 MB / 1.477 GB, free: 1.078 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/1.287, allocations: 149.7 kB / 1.477 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/1.287, allocations: 16.02 kB / 1.477 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/1.288, allocations: 11.23 kB / 1.477 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.288, allocations: 21.38 kB / 1.477 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/1.288, allocations: 8 kB / 1.477 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005857/1.288, allocations: 308.8 kB / 1.478 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.288, allocations: 0 / 1.478 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008709/1.289, allocations: 125.4 kB / 1.478 GB, free: 0.6992 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00191/1.291, allocations: 444 kB / 1.478 GB, free: 488 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001142/1.292, allocations: 411.4 kB / 1.479 GB, free: 224 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.292, allocations: 1 kB / 1.479 GB, free: 224 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/1.293, allocations: 237 kB / 1.479 GB, free: 44 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.294, allocations: 245.8 kB / 1.479 GB, free: 15.92 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/1.297, allocations: 1.049 MB / 1.48 GB, free: 15.2 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/1.297, allocations: 0.8545 MB / 1.481 GB, free: 14.42 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.297, allocations: 36.69 kB / 1.481 GB, free: 14.41 MB / 1.17 GB Notification: Performance of SimCode: time 1.724e-06/1.297, allocations: 0 / 1.481 GB, free: 14.41 MB / 1.17 GB Notification: Performance of Templates: time 0.01857/1.316, allocations: 9.31 MB / 1.49 GB, free: 9.492 MB / 1.17 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches