Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001112/0.001112, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008595/0.0008595, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8739/0.8739, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.67/1.67, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.046e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.5983/0.5983, allocations: 168.8 MB / 1.146 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.6253, allocations: 24.11 MB / 1.169 GB, free: 15.27 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.6282, allocations: 79.38 kB / 1.169 GB, free: 15.23 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.005301/0.6335, allocations: 2.029 MB / 1.171 GB, free: 14.34 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.6442, allocations: 4.653 MB / 1.176 GB, free: 11.89 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0055/0.6497, allocations: 2.605 MB / 1.178 GB, free: 10.73 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.6607, allocations: 8.53 MB / 1.187 GB, free: 7.293 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.6629, allocations: 1.262 MB / 1.188 GB, free: 6.605 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00708/0.67, allocations: 3.651 MB / 1.192 GB, free: 4.922 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.6723, allocations: 1.242 MB / 1.193 GB, free: 4.422 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.6727, allocations: 189.8 kB / 1.193 GB, free: 4.422 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007489/0.6802, allocations: 3.951 MB / 1.197 GB, free: 2.453 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.6808, allocations: 0.6821 MB / 1.197 GB, free: 1.953 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.682, allocations: 0.7636 MB / 1.198 GB, free: 1.555 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.009019/0.691, allocations: 5.833 MB / 1.204 GB, free: 13.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.691, allocations: 3.469 kB / 1.204 GB, free: 13.59 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.691, allocations: 0 / 1.204 GB, free: 13.59 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0001046/0.6911, allocations: 0 / 1.204 GB, free: 13.59 MB / 1.042 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.004791/0.6959, allocations: 2.753 MB / 1.207 GB, free: 11.54 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6959, allocations: 12.88 kB / 1.207 GB, free: 11.53 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.6961, allocations: 162 kB / 1.207 GB, free: 11.4 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.6983, allocations: 0.6613 MB / 1.207 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.7018, allocations: 3.013 MB / 1.21 GB, free: 8.988 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.7018, allocations: 79.59 kB / 1.21 GB, free: 8.953 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.702, allocations: 114.1 kB / 1.211 GB, free: 8.914 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.7037, allocations: 1.569 MB / 1.212 GB, free: 7.746 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.7037, allocations: 2.562 kB / 1.212 GB, free: 7.746 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.7038, allocations: 42.69 kB / 1.212 GB, free: 7.715 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.7038, allocations: 26.69 kB / 1.212 GB, free: 7.715 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.7054, allocations: 1.124 MB / 1.213 GB, free: 7.16 MB / 1.042 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.005521/0.7109, allocations: 5.309 MB / 1.218 GB, free: 2.891 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.7121, allocations: 0.7769 MB / 1.219 GB, free: 2.449 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.7125, allocations: 362.5 kB / 1.22 GB, free: 2.262 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003301/0.7158, allocations: 1.867 MB / 1.221 GB, free: 1.531 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007134/0.7166, allocations: 0.6768 MB / 1.222 GB, free: 0.9805 MB / 1.042 GB Notification: Performance of pre-optimization done (n=67): time 2.585e-06/0.7166, allocations: 0 / 1.222 GB, free: 0.9805 MB / 1.042 GB Notification: Performance of matching and sorting (n=81): time 0.02762/0.7442, allocations: 18.73 MB / 1.24 GB, free: 15.99 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.7443, allocations: 162.9 kB / 1.24 GB, free: 15.79 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.7462, allocations: 1.896 MB / 1.242 GB, free: 13.85 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.7463, allocations: 49.64 kB / 1.242 GB, free: 13.8 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005774/0.7469, allocations: 0.9185 MB / 1.243 GB, free: 12.87 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.7472, allocations: 297.4 kB / 1.244 GB, free: 12.58 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.7474, allocations: 210.8 kB / 1.244 GB, free: 12.37 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.7475, allocations: 357.9 kB / 1.244 GB, free: 12.01 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.7481, allocations: 446.5 kB / 1.245 GB, free: 11.57 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/0.7489, allocations: 0.983 MB / 1.245 GB, free: 10.39 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.7503, allocations: 1.244 MB / 1.247 GB, free: 9.012 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.7503, allocations: 4 kB / 1.247 GB, free: 9.008 MB / 1.073 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002492/0.7528, allocations: 1.607 MB / 1.248 GB, free: 7.383 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.7528, allocations: 13.88 kB / 1.248 GB, free: 7.371 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.7528, allocations: 10.11 kB / 1.248 GB, free: 7.363 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.7533, allocations: 218 kB / 1.249 GB, free: 7.145 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005481/0.7539, allocations: 263.5 kB / 1.249 GB, free: 6.887 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.757, allocations: 3.906 MB / 1.253 GB, free: 2.758 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7582, allocations: 112.6 kB / 1.253 GB, free: 2.648 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.7583, allocations: 51.98 kB / 1.253 GB, free: 2.598 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (125): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0007593/0.759, allocations: 0.5559 MB / 1.253 GB, free: 2.031 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.7594, allocations: 202.7 kB / 1.253 GB, free: 1.832 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.7615, allocations: 1.513 MB / 1.255 GB, free: 320 kB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7615, allocations: 8 kB / 1.255 GB, free: 312 kB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7616, allocations: 8.062 kB / 1.255 GB, free: 304 kB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/0.763, allocations: 1.269 MB / 1.256 GB, free: 14.95 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.7759, allocations: 8.137 MB / 1.264 GB, free: 6.684 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.7759, allocations: 11.98 kB / 1.264 GB, free: 6.672 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.7764, allocations: 180 kB / 1.264 GB, free: 6.496 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.7767, allocations: 160.7 kB / 1.264 GB, free: 6.336 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.7767, allocations: 35.92 kB / 1.265 GB, free: 6.301 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.7786, allocations: 2.23 MB / 1.267 GB, free: 3.961 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7786, allocations: 12 kB / 1.267 GB, free: 3.949 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.7812, allocations: 1.921 MB / 1.269 GB, free: 1.938 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.7819, allocations: 314.6 kB / 1.269 GB, free: 1.629 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.7821, allocations: 27.94 kB / 1.269 GB, free: 1.602 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.7827, allocations: 87.91 kB / 1.269 GB, free: 1.516 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7828, allocations: 76.36 kB / 1.269 GB, free: 1.441 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.7829, allocations: 39.98 kB / 1.269 GB, free: 1.402 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001501/0.7844, allocations: 1.343 MB / 1.27 GB, free: 40 kB / 1.089 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7844, allocations: 0 / 1.27 GB, free: 40 kB / 1.089 GB Notification: Performance of remove unused functions: time 0.003564/0.7879, allocations: 1.292 MB / 1.272 GB, free: 14.75 MB / 1.104 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.007467/0.7954, allocations: 3.586 MB / 1.275 GB, free: 11.25 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.7975, allocations: 1.324 MB / 1.276 GB, free: 9.895 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.7975, allocations: 4 kB / 1.276 GB, free: 9.891 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.7984, allocations: 0.626 MB / 1.277 GB, free: 9.254 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/0.8012, allocations: 1.068 MB / 1.278 GB, free: 8.215 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/0.8209, allocations: 14.83 MB / 1.293 GB, free: 8.766 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.8216, allocations: 0.9067 MB / 1.293 GB, free: 7.816 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001292/0.8229, allocations: 427.1 kB / 1.294 GB, free: 7.402 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008255/0.8238, allocations: 0.8049 MB / 1.295 GB, free: 6.598 MB / 1.12 GB Notification: Performance of SimCode: time 1.192e-06/0.8238, allocations: 0 / 1.295 GB, free: 6.598 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/0.9292, allocations: 92.51 MB / 1.385 GB, free: 11.26 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/10.27, allocations: 19.92 kB / 1.385 GB, free: 11.24 MB / 1.214 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.825933014973998]