Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.001287/0.001287, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001359/0.001359, allocations: 222.5 kB / 23.03 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",version="2.0",platforms={"static"}) [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.002079/0.002079, allocations: 73.44 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4353, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2491/0.6844, allocations: 143.5 MB / 1.467 GB, free: 1.477 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007898/0.6923, allocations: 3.329 MB / 1.47 GB, free: 14.14 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.6934, allocations: 23.81 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.6947, allocations: 270.5 kB / 1.47 GB, free: 13.85 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.698, allocations: 0.9317 MB / 1.471 GB, free: 12.92 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.6996, allocations: 462.8 kB / 1.472 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.7019, allocations: 1.15 MB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007317/0.7026, allocations: 272.6 kB / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.704, allocations: 474.3 kB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.7055, allocations: 374.4 kB / 1.474 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.7057, allocations: 47.98 kB / 1.474 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.7075, allocations: 0.5844 MB / 1.474 GB, free: 9.574 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.7079, allocations: 179.3 kB / 1.475 GB, free: 9.398 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.7084, allocations: 226.9 kB / 1.475 GB, free: 9.176 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.7106, allocations: 0.9265 MB / 1.476 GB, free: 8.246 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7106, allocations: 3.938 kB / 1.476 GB, free: 8.242 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7106, allocations: 0 / 1.476 GB, free: 8.242 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.958e-05/0.7106, allocations: 0 / 1.476 GB, free: 8.242 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002536/0.7132, allocations: 0.8209 MB / 1.477 GB, free: 7.391 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.7132, allocations: 8.031 kB / 1.477 GB, free: 7.383 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.476e-05/0.7132, allocations: 8.656 kB / 1.477 GB, free: 7.375 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.7134, allocations: 70.52 kB / 1.477 GB, free: 7.297 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.7147, allocations: 159.4 kB / 1.477 GB, free: 7.141 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.7158, allocations: 446.2 kB / 1.477 GB, free: 6.68 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.7159, allocations: 24.64 kB / 1.477 GB, free: 6.656 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.7159, allocations: 32 kB / 1.477 GB, free: 6.625 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008078/0.7167, allocations: 427.8 kB / 1.478 GB, free: 6.168 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.7168, allocations: 4 kB / 1.478 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.7168, allocations: 8 kB / 1.478 GB, free: 6.156 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.7168, allocations: 20.64 kB / 1.478 GB, free: 6.137 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.7173, allocations: 226.4 kB / 1.478 GB, free: 5.918 MB / 1.17 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.002408/0.7197, allocations: 0.9525 MB / 1.479 GB, free: 4.914 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.7202, allocations: 206.7 kB / 1.479 GB, free: 4.703 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.7204, allocations: 112.8 kB / 1.479 GB, free: 4.59 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.7204, allocations: 4 kB / 1.479 GB, free: 4.586 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.7209, allocations: 270 kB / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.7209, allocations: 0 / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003335/0.7242, allocations: 1.034 MB / 1.48 GB, free: 3.215 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.7243, allocations: 55.41 kB / 1.48 GB, free: 3.148 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.7251, allocations: 473.9 kB / 1.481 GB, free: 2.68 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.7251, allocations: 33.7 kB / 1.481 GB, free: 2.641 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.7254, allocations: 244.6 kB / 1.481 GB, free: 2.398 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.7255, allocations: 107 kB / 1.481 GB, free: 2.293 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.7257, allocations: 78.03 kB / 1.481 GB, free: 2.211 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.7259, allocations: 358.8 kB / 1.482 GB, free: 1.852 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.7262, allocations: 128.7 kB / 1.482 GB, free: 1.727 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.7265, allocations: 182.7 kB / 1.482 GB, free: 1.531 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.727, allocations: 319.4 kB / 1.482 GB, free: 1.203 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.727, allocations: 0 / 1.482 GB, free: 1.203 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001147/0.7282, allocations: 494.4 kB / 1.483 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7282, allocations: 4 kB / 1.483 GB, free: 0.707 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.7282, allocations: 12.14 kB / 1.483 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.7286, allocations: 80.8 kB / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.7289, allocations: 67.91 kB / 1.483 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.7313, allocations: 1.801 MB / 1.485 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.7317, allocations: 8 kB / 1.485 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.7318, allocations: 12 kB / 1.485 GB, free: 14.62 MB / 1.186 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.0003776/0.7321, allocations: 197.7 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.7323, allocations: 47.72 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.7333, allocations: 411.2 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.7333, allocations: 7.938 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7333, allocations: 0 / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.7333, allocations: 3.984 kB / 1.485 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.7352, allocations: 0.8929 MB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.7353, allocations: 4 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.7356, allocations: 67.89 kB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003567/0.736, allocations: 76.8 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.736, allocations: 11.98 kB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.7378, allocations: 1.537 MB / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7378, allocations: 0 / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.7389, allocations: 0.5879 MB / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.7392, allocations: 79.72 kB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.7393, allocations: 12.06 kB / 1.489 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.7397, allocations: 15.98 kB / 1.489 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.7397, allocations: 19.97 kB / 1.489 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.7398, allocations: 11.98 kB / 1.489 GB, free: 10.44 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004465/0.7402, allocations: 315.1 kB / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7402, allocations: 0 / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006265/0.7408, allocations: 131.9 kB / 1.489 GB, free: 10 MB / 1.186 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 (27): * Single equations (assignments): 24 * 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.003472/0.7443, allocations: 1.485 MB / 1.49 GB, free: 8.676 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009927/0.7453, allocations: 418.7 kB / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7453, allocations: 0 / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.7457, allocations: 238.5 kB / 1.491 GB, free: 8.008 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.7471, allocations: 249.8 kB / 1.491 GB, free: 7.773 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007652/0.7547, allocations: 4.192 MB / 1.495 GB, free: 3.457 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.7551, allocations: 259.7 kB / 1.496 GB, free: 3.18 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.7555, allocations: 88.31 kB / 1.496 GB, free: 3.094 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.7557, allocations: 163.4 kB / 1.496 GB, free: 2.934 MB / 1.186 GB Notification: Performance of SimCode: time 6.61e-07/0.7557, allocations: 0 / 1.496 GB, free: 2.934 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/0.805, allocations: 14.26 MB / 1.51 GB, free: 4.969 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.76, allocations: 14.59 kB / 1.51 GB, free: 4.957 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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: 20.976834982051514]