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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 104.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 71.88 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9965/0.9986, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2024/1.201, allocations: 163.5 MB / 1.464 GB, free: 9.449 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00681/1.208, allocations: 3.497 MB / 1.467 GB, free: 6.996 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007776/1.209, allocations: 19.91 kB / 1.467 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009561/1.21, allocations: 284.8 kB / 1.467 GB, free: 6.852 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/1.212, allocations: 0.8968 MB / 1.468 GB, free: 6.348 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/1.213, allocations: 479.9 kB / 1.469 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00176/1.215, allocations: 1.096 MB / 1.47 GB, free: 5.578 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005097/1.216, allocations: 288.3 kB / 1.47 GB, free: 5.434 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/1.217, allocations: 460.2 kB / 1.47 GB, free: 5.227 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/1.218, allocations: 371.3 kB / 1.471 GB, free: 5.078 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/1.218, allocations: 44.34 kB / 1.471 GB, free: 5.074 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/1.22, allocations: 0.7323 MB / 1.471 GB, free: 4.793 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/1.22, allocations: 178.1 kB / 1.472 GB, free: 4.707 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003791/1.22, allocations: 271.1 kB / 1.472 GB, free: 4.535 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/1.222, allocations: 0.9429 MB / 1.473 GB, free: 3.918 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.222, allocations: 0 / 1.473 GB, free: 3.918 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.834e-06/1.222, allocations: 0 / 1.473 GB, free: 3.918 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.222, allocations: 5.438 kB / 1.473 GB, free: 3.914 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.001684/1.224, allocations: 0.8801 MB / 1.474 GB, free: 3.168 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.224, allocations: 9.281 kB / 1.474 GB, free: 3.168 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.915e-05/1.224, allocations: 65.17 kB / 1.474 GB, free: 3.105 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/1.225, allocations: 161.5 kB / 1.474 GB, free: 3.027 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008741/1.226, allocations: 0.4989 MB / 1.474 GB, free: 2.598 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/1.226, allocations: 25.22 kB / 1.474 GB, free: 2.586 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/1.226, allocations: 27.44 kB / 1.474 GB, free: 2.578 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/1.227, allocations: 324.7 kB / 1.475 GB, free: 2.375 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.227, allocations: 1 kB / 1.475 GB, free: 2.375 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/1.227, allocations: 15.67 kB / 1.475 GB, free: 2.363 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/1.227, allocations: 10.16 kB / 1.475 GB, free: 2.363 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/1.227, allocations: 227.5 kB / 1.475 GB, free: 2.25 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.002308/1.229, allocations: 1.516 MB / 1.477 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/1.23, allocations: 207.1 kB / 1.477 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/1.23, allocations: 106 kB / 1.477 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/1.23, allocations: 6.688 kB / 1.477 GB, free: 0.668 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/1.23, allocations: 170.1 kB / 1.477 GB, free: 0.543 MB / 1.154 GB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/1.23, allocations: 0 / 1.477 GB, free: 0.543 MB / 1.154 GB Notification: Performance of matching and sorting (n=29): time 0.003059/1.233, allocations: 1.099 MB / 1.478 GB, free: 15.8 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.234, allocations: 63.44 kB / 1.478 GB, free: 15.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/1.234, allocations: 459.8 kB / 1.479 GB, free: 15.47 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/1.234, allocations: 32.17 kB / 1.479 GB, free: 15.44 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/1.234, allocations: 242.1 kB / 1.479 GB, free: 15.22 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.234, allocations: 100.9 kB / 1.479 GB, free: 15.13 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/1.235, allocations: 75.59 kB / 1.479 GB, free: 15.08 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.235, allocations: 353.3 kB / 1.479 GB, free: 14.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/1.235, allocations: 128.8 kB / 1.479 GB, free: 14.68 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/1.235, allocations: 185.4 kB / 1.48 GB, free: 14.55 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/1.236, allocations: 300.3 kB / 1.48 GB, free: 14.37 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.236, allocations: 1.156 kB / 1.48 GB, free: 14.37 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001061/1.237, allocations: 495.4 kB / 1.48 GB, free: 14.1 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.237, allocations: 11.53 kB / 1.48 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.237, allocations: 1.125 kB / 1.48 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/1.237, allocations: 86.69 kB / 1.48 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/1.238, allocations: 58.14 kB / 1.481 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.24, allocations: 1.918 MB / 1.482 GB, free: 12.22 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/1.24, allocations: 16.61 kB / 1.482 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/1.24, allocations: 9.844 kB / 1.482 GB, free: 12.21 MB / 1.17 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.0002929/1.24, allocations: 192.6 kB / 1.483 GB, free: 12.04 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/1.24, allocations: 57.75 kB / 1.483 GB, free: 12.01 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/1.241, allocations: 49.72 kB / 1.483 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.241, allocations: 3.25 kB / 1.483 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.241, allocations: 5.281 kB / 1.483 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.241, allocations: 0.9688 kB / 1.483 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/1.242, allocations: 0.9628 MB / 1.484 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.242, allocations: 3.938 kB / 1.484 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/1.243, allocations: 65.84 kB / 1.484 GB, free: 11.21 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/1.243, allocations: 82.44 kB / 1.484 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.243, allocations: 11.56 kB / 1.484 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/1.245, allocations: 1.652 MB / 1.485 GB, free: 9.547 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.245, allocations: 0 / 1.485 GB, free: 9.547 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.246, allocations: 0.5772 MB / 1.486 GB, free: 9.164 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/1.246, allocations: 154.8 kB / 1.486 GB, free: 9.016 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/1.246, allocations: 7.469 kB / 1.486 GB, free: 9.012 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/1.247, allocations: 15.36 kB / 1.486 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/1.247, allocations: 24.94 kB / 1.486 GB, free: 8.984 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/1.247, allocations: 12.31 kB / 1.486 GB, free: 8.98 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004129/1.247, allocations: 305.2 kB / 1.486 GB, free: 8.797 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.247, allocations: 0 / 1.486 GB, free: 8.797 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007018/1.248, allocations: 129.2 kB / 1.487 GB, free: 8.777 MB / 1.17 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.002911/1.251, allocations: 1.434 MB / 1.488 GB, free: 7.766 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007928/1.251, allocations: 403.7 kB / 1.488 GB, free: 7.516 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.251, allocations: 0 / 1.488 GB, free: 7.516 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/1.252, allocations: 250.2 kB / 1.489 GB, free: 7.328 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.253, allocations: 247.2 kB / 1.489 GB, free: 7.203 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/1.26, allocations: 4.13 MB / 1.493 GB, free: 4.398 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/1.26, allocations: 0.8552 MB / 1.494 GB, free: 3.617 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000439/1.261, allocations: 83.06 kB / 1.494 GB, free: 3.578 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/1.261, allocations: 156.7 kB / 1.494 GB, free: 3.453 MB / 1.17 GB Notification: Performance of SimCode: time 1.133e-06/1.261, allocations: 0 / 1.494 GB, free: 3.453 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/1.309, allocations: 13 MB / 1.507 GB, free: 7.359 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.33, allocations: 7.875 kB / 1.507 GB, free: 7.352 MB / 1.186 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] 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_2/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 [Calling sys.exit(0), Time elapsed: 18.7501886873506]