Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.001788/0.001788, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002229/0.002229, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.139/3.139, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",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.001965/0.001965, allocations: 62.19 kB / 1.17 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1977/0.5059, allocations: 169 MB / 1.51 GB, free: 6.367 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03707/0.543, allocations: 24.14 MB / 1.534 GB, free: 14.16 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.5454, allocations: 79.38 kB / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00588/0.5512, allocations: 2.011 MB / 1.536 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.5628, allocations: 4.546 MB / 1.54 GB, free: 7.508 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.5692, allocations: 2.556 MB / 1.543 GB, free: 4.957 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.5815, allocations: 7.662 MB / 1.55 GB, free: 13.27 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.5842, allocations: 1.251 MB / 1.552 GB, free: 11.99 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007389/0.5916, allocations: 2.71 MB / 1.554 GB, free: 9.277 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.5949, allocations: 1.455 MB / 1.556 GB, free: 7.816 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0007199/0.5956, allocations: 212 kB / 1.556 GB, free: 7.609 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.606, allocations: 4.38 MB / 1.56 GB, free: 3.223 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.6072, allocations: 0.6929 MB / 1.561 GB, free: 2.527 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002115/0.6093, allocations: 0.9449 MB / 1.562 GB, free: 1.578 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.62, allocations: 5.702 MB / 1.567 GB, free: 11.86 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/0.62, allocations: 0 / 1.567 GB, free: 11.86 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.863e-06/0.62, allocations: 0 / 1.567 GB, free: 11.86 MB / 1.264 GB Notification: Performance of Transformations before backend: time 9.812e-05/0.6201, allocations: 4 kB / 1.567 GB, free: 11.86 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.007227/0.6274, allocations: 2.846 MB / 1.57 GB, free: 8.953 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6274, allocations: 8.75 kB / 1.57 GB, free: 8.945 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.378e-05/0.6275, allocations: 30.09 kB / 1.57 GB, free: 8.914 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000326/0.6278, allocations: 160.5 kB / 1.57 GB, free: 8.746 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004918/0.6327, allocations: 0.6581 MB / 1.571 GB, free: 8.086 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006361/0.6391, allocations: 2.793 MB / 1.574 GB, free: 5.254 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.6392, allocations: 90.03 kB / 1.574 GB, free: 5.164 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/0.6396, allocations: 108 kB / 1.574 GB, free: 5.059 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.6433, allocations: 1.565 MB / 1.575 GB, free: 3.352 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.6434, allocations: 3.938 kB / 1.575 GB, free: 3.348 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.6436, allocations: 47.94 kB / 1.575 GB, free: 3.301 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.6436, allocations: 24 kB / 1.575 GB, free: 3.277 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.6467, allocations: 1.132 MB / 1.576 GB, free: 2.145 MB / 1.264 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.01123/0.6579, allocations: 5.406 MB / 1.582 GB, free: 12.57 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.6601, allocations: 0.7727 MB / 1.583 GB, free: 11.77 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009162/0.6611, allocations: 372.3 kB / 1.583 GB, free: 11.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007076/0.6681, allocations: 1.87 MB / 1.585 GB, free: 9.527 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.6698, allocations: 0.6787 MB / 1.585 GB, free: 8.777 MB / 1.279 GB Notification: Performance of pre-optimization done (n=67): time 5.901e-06/0.6698, allocations: 0 / 1.585 GB, free: 8.777 MB / 1.279 GB Notification: Performance of matching and sorting (n=81): time 0.05455/0.7244, allocations: 18.71 MB / 1.604 GB, free: 6.023 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.7245, allocations: 166.8 kB / 1.604 GB, free: 5.824 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003558/0.7281, allocations: 2.024 MB / 1.606 GB, free: 3.758 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.7283, allocations: 49.69 kB / 1.606 GB, free: 3.703 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009085/0.7292, allocations: 0.8786 MB / 1.607 GB, free: 2.816 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.7296, allocations: 305.5 kB / 1.607 GB, free: 2.516 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006156/0.7302, allocations: 327.4 kB / 1.607 GB, free: 2.191 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7303, allocations: 305.1 kB / 1.608 GB, free: 1.891 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.7317, allocations: 0.6598 MB / 1.608 GB, free: 1.23 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6619/1.394, allocations: 1.265 MB / 1.609 GB, free: 57.02 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/1.397, allocations: 1.633 MB / 1.611 GB, free: 56.63 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/1.397, allocations: 2.656 kB / 1.611 GB, free: 56.63 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00498/1.402, allocations: 2.12 MB / 1.613 GB, free: 56.57 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.402, allocations: 9.469 kB / 1.613 GB, free: 56.57 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/1.402, allocations: 10.69 kB / 1.613 GB, free: 56.57 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000814/1.403, allocations: 215.6 kB / 1.613 GB, free: 56.55 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.404, allocations: 305.5 kB / 1.614 GB, free: 56.55 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/1.408, allocations: 3.925 MB / 1.617 GB, free: 53.85 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.41, allocations: 118.2 kB / 1.618 GB, free: 53.85 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/1.41, allocations: 66.48 kB / 1.618 GB, free: 53.85 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001017/1.411, allocations: 0.5545 MB / 1.618 GB, free: 53.74 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007065/1.412, allocations: 207.6 kB / 1.618 GB, free: 53.73 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/1.416, allocations: 1.483 MB / 1.62 GB, free: 53.61 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.416, allocations: 10.12 kB / 1.62 GB, free: 53.61 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.416, allocations: 3.344 kB / 1.62 GB, free: 53.61 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002557/1.419, allocations: 1.275 MB / 1.621 GB, free: 53.22 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/1.444, allocations: 8.176 MB / 1.629 GB, free: 52.59 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.444, allocations: 5.438 kB / 1.629 GB, free: 52.59 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/1.445, allocations: 183.8 kB / 1.629 GB, free: 52.59 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005613/1.446, allocations: 160.1 kB / 1.629 GB, free: 52.58 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.446, allocations: 36.94 kB / 1.629 GB, free: 52.58 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/1.448, allocations: 2.233 MB / 1.632 GB, free: 51.23 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.448, allocations: 10.19 kB / 1.632 GB, free: 51.23 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/1.453, allocations: 1.914 MB / 1.633 GB, free: 50.86 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/1.454, allocations: 336.8 kB / 1.634 GB, free: 50.75 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/1.454, allocations: 25.33 kB / 1.634 GB, free: 50.75 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.456, allocations: 87.17 kB / 1.634 GB, free: 50.75 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.456, allocations: 80.28 kB / 1.634 GB, free: 50.75 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.845e-05/1.456, allocations: 37.94 kB / 1.634 GB, free: 50.75 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002599/1.459, allocations: 1.409 MB / 1.635 GB, free: 50.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.21e-07/1.459, allocations: 1.219 kB / 1.635 GB, free: 50.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004438/1.463, allocations: 1.397 MB / 1.637 GB, free: 50.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01154/1.475, allocations: 3.704 MB / 1.64 GB, free: 49.54 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003804/1.478, allocations: 1.582 MB / 1.642 GB, free: 49.28 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.478, allocations: 4.5 kB / 1.642 GB, free: 49.28 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.48, allocations: 0.6275 MB / 1.643 GB, free: 49.16 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/1.484, allocations: 0.9514 MB / 1.643 GB, free: 49.03 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/1.515, allocations: 15.89 MB / 1.659 GB, free: 45.01 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008525/1.516, allocations: 0.9047 MB / 1.66 GB, free: 44.86 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001676/1.517, allocations: 400.7 kB / 1.66 GB, free: 44.75 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.519, allocations: 0.7975 MB / 1.661 GB, free: 44.74 MB / 1.295 GB Notification: Performance of SimCode: time 1.272e-06/1.519, allocations: 1.203 kB / 1.661 GB, free: 44.74 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/1.645, allocations: 91.69 MB / 1.751 GB, free: 2.457 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/19.49, allocations: 11.91 kB / 1.751 GB, free: 2.445 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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: 32.762240477022715]