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.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.001606/0.001606, allocations: 103.9 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.001718/0.001718, 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.832/2.832, allocations: 497.2 MB / 0.7811 GB, free: 11.92 MB / 0.6231 GB " [Timeout remaining time 177] 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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9062/0.9081, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2206/1.129, allocations: 190.6 MB / 1.49 GB, free: 5.246 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04008/1.169, allocations: 26.15 MB / 1.516 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/1.172, allocations: 63.62 kB / 1.516 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006119/1.178, allocations: 2.022 MB / 1.518 GB, free: 12.65 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.012/1.19, allocations: 4.481 MB / 1.522 GB, free: 8.156 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006108/1.196, allocations: 2.404 MB / 1.524 GB, free: 5.758 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.208, allocations: 7.458 MB / 1.532 GB, free: 14.29 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002872/1.211, allocations: 1.289 MB / 1.533 GB, free: 12.96 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006954/1.218, allocations: 2.631 MB / 1.536 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/1.221, allocations: 1.448 MB / 1.537 GB, free: 8.867 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005468/1.221, allocations: 207.9 kB / 1.537 GB, free: 8.664 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/1.231, allocations: 4.778 MB / 1.542 GB, free: 3.879 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/1.232, allocations: 0.6735 MB / 1.542 GB, free: 3.203 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001952/1.234, allocations: 1.213 MB / 1.544 GB, free: 1.984 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/1.246, allocations: 5.748 MB / 1.549 GB, free: 12.22 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.246, allocations: 4 kB / 1.549 GB, free: 12.21 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.664e-06/1.246, allocations: 0 / 1.549 GB, free: 12.21 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.121e-05/1.246, allocations: 0 / 1.549 GB, free: 12.21 MB / 1.232 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.00727/1.253, allocations: 2.912 MB / 1.552 GB, free: 9.227 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.253, allocations: 8.031 kB / 1.552 GB, free: 9.219 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000263/1.253, allocations: 164.6 kB / 1.552 GB, free: 9.047 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/1.258, allocations: 0.6658 MB / 1.553 GB, free: 8.379 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006276/1.264, allocations: 2.865 MB / 1.556 GB, free: 5.465 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.265, allocations: 82.09 kB / 1.556 GB, free: 5.383 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/1.265, allocations: 123.9 kB / 1.556 GB, free: 5.262 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/1.268, allocations: 1.341 MB / 1.557 GB, free: 3.836 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/1.268, allocations: 3.938 kB / 1.557 GB, free: 3.832 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.268, allocations: 47.94 kB / 1.557 GB, free: 3.785 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/1.268, allocations: 31.94 kB / 1.557 GB, free: 3.754 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/1.271, allocations: 1.124 MB / 1.558 GB, free: 2.629 MB / 1.232 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.01079/1.282, allocations: 6.791 MB / 1.565 GB, free: 11.46 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/1.284, allocations: 0.77 MB / 1.566 GB, free: 10.67 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/1.285, allocations: 370.8 kB / 1.566 GB, free: 10.3 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007506/1.292, allocations: 2.833 MB / 1.569 GB, free: 7.23 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/1.293, allocations: 0.4936 MB / 1.569 GB, free: 6.707 MB / 1.248 GB Notification: Performance of pre-optimization done (n=67): time 2.405e-06/1.293, allocations: 0 / 1.569 GB, free: 6.707 MB / 1.248 GB Notification: Performance of matching and sorting (n=81): time 0.05363/1.347, allocations: 18.84 MB / 1.588 GB, free: 3.777 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.347, allocations: 162.9 kB / 1.588 GB, free: 3.578 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/1.35, allocations: 2.012 MB / 1.59 GB, free: 1.523 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/1.351, allocations: 45.7 kB / 1.59 GB, free: 1.473 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008727/1.351, allocations: 0.8707 MB / 1.591 GB, free: 0.5938 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/1.352, allocations: 309.4 kB / 1.591 GB, free: 296 kB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/1.352, allocations: 339.3 kB / 1.591 GB, free: 15.95 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.353, allocations: 305.1 kB / 1.592 GB, free: 15.65 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/1.354, allocations: 0.652 MB / 1.592 GB, free: 15 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/1.356, allocations: 1.058 MB / 1.593 GB, free: 13.78 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/1.359, allocations: 1.629 MB / 1.595 GB, free: 12.01 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.359, allocations: 4 kB / 1.595 GB, free: 12.01 MB / 1.279 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005028/1.364, allocations: 2.106 MB / 1.597 GB, free: 9.891 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/1.364, allocations: 12 kB / 1.597 GB, free: 9.879 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.364, allocations: 11.94 kB / 1.597 GB, free: 9.867 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007983/1.365, allocations: 221.8 kB / 1.597 GB, free: 9.645 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.366, allocations: 307.5 kB / 1.598 GB, free: 9.344 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005415/1.371, allocations: 4.16 MB / 1.602 GB, free: 4.906 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.373, allocations: 116.4 kB / 1.602 GB, free: 4.793 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/1.374, allocations: 63.98 kB / 1.602 GB, free: 4.73 MB / 1.279 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.000996/1.375, allocations: 0.5542 MB / 1.602 GB, free: 4.168 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/1.375, allocations: 198.7 kB / 1.603 GB, free: 3.973 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/1.379, allocations: 1.481 MB / 1.604 GB, free: 2.477 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.379, allocations: 8 kB / 1.604 GB, free: 2.469 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.379, allocations: 0 / 1.604 GB, free: 2.469 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002807/1.382, allocations: 1.265 MB / 1.605 GB, free: 1.129 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/1.408, allocations: 9.299 MB / 1.614 GB, free: 7.48 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.408, allocations: 4 kB / 1.614 GB, free: 7.477 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/1.409, allocations: 180.5 kB / 1.614 GB, free: 7.301 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/1.409, allocations: 160.7 kB / 1.615 GB, free: 7.141 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-05/1.409, allocations: 35.92 kB / 1.615 GB, free: 7.105 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/1.413, allocations: 2.369 MB / 1.617 GB, free: 4.598 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.413, allocations: 11.94 kB / 1.617 GB, free: 4.586 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/1.417, allocations: 1.904 MB / 1.619 GB, free: 2.594 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.418, allocations: 403.7 kB / 1.619 GB, free: 2.18 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/1.418, allocations: 27.98 kB / 1.619 GB, free: 2.152 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.42, allocations: 87.86 kB / 1.619 GB, free: 2.066 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.42, allocations: 68.36 kB / 1.619 GB, free: 2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/1.42, allocations: 47.91 kB / 1.619 GB, free: 1.953 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002436/1.422, allocations: 1.394 MB / 1.621 GB, free: 0.5391 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.422, allocations: 0 / 1.621 GB, free: 0.5391 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004843/1.427, allocations: 1.385 MB / 1.622 GB, free: 15.15 MB / 1.311 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 (80): * Single equations (assignments): 77 * 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.01193/1.439, allocations: 3.679 MB / 1.626 GB, free: 11.55 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004177/1.443, allocations: 1.566 MB / 1.627 GB, free: 9.965 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.443, allocations: 1.812 kB / 1.627 GB, free: 9.965 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.445, allocations: 0.6315 MB / 1.628 GB, free: 9.32 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/1.449, allocations: 0.9473 MB / 1.629 GB, free: 8.398 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/1.482, allocations: 15.84 MB / 1.644 GB, free: 7.902 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.484, allocations: 1.479 MB / 1.646 GB, free: 6.395 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.001705/1.485, allocations: 390.9 kB / 1.646 GB, free: 6.012 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/1.487, allocations: 0.8 MB / 1.647 GB, free: 5.215 MB / 1.326 GB Notification: Performance of SimCode: time 1.012e-06/1.487, allocations: 0 / 1.647 GB, free: 5.215 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1612/1.648, allocations: 87.66 MB / 1.733 GB, free: 14.28 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/18.45, allocations: 7.984 kB / 1.733 GB, free: 14.27 MB / 1.42 GB " [Timeout remaining time 281] (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_2/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: 28.95682957302779]