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.0008145/0.0008145, 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.0007933/0.0007933, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8837/0.8837, allocations: 177.2 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] 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 1.744/1.744, allocations: 389.1 MB / 0.6331 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="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 1.072e-06/1.072e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.086e-06/9.158e-06, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.5823/0.5823, allocations: 168.8 MB / 1.164 GB, free: 9.508 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.6064, allocations: 24.08 MB / 1.188 GB, free: 9.688 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.6086, allocations: 83.94 kB / 1.188 GB, free: 9.645 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.6131, allocations: 2.013 MB / 1.19 GB, free: 8.758 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.008825/0.6219, allocations: 4.648 MB / 1.195 GB, free: 6.316 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.6262, allocations: 2.6 MB / 1.197 GB, free: 5.16 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.007625/0.6338, allocations: 8.518 MB / 1.205 GB, free: 0.6875 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6351, allocations: 1.216 MB / 1.207 GB, free: 15.76 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.6398, allocations: 3.644 MB / 1.21 GB, free: 13.39 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.6412, allocations: 1.235 MB / 1.211 GB, free: 12.7 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.6414, allocations: 191.4 kB / 1.212 GB, free: 12.7 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005088/0.6465, allocations: 3.951 MB / 1.215 GB, free: 10.73 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.6469, allocations: 0.6787 MB / 1.216 GB, free: 10.24 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0005365/0.6474, allocations: 0.765 MB / 1.217 GB, free: 9.836 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.6519, allocations: 5.825 MB / 1.223 GB, free: 5.875 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6519, allocations: 0 / 1.223 GB, free: 5.875 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6519, allocations: 0 / 1.223 GB, free: 5.875 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.6519, allocations: 2.562 kB / 1.223 GB, free: 5.875 MB / 1.057 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.002696/0.6546, allocations: 2.746 MB / 1.225 GB, free: 3.828 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6546, allocations: 10.5 kB / 1.225 GB, free: 3.828 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.6547, allocations: 163.7 kB / 1.225 GB, free: 3.691 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.6567, allocations: 0.6698 MB / 1.226 GB, free: 3.379 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.6595, allocations: 3.012 MB / 1.229 GB, free: 0.7852 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.6595, allocations: 85.19 kB / 1.229 GB, free: 0.7031 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6596, allocations: 120 kB / 1.229 GB, free: 0.5859 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.6612, allocations: 1.561 MB / 1.231 GB, free: 14.88 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.6612, allocations: 3.125 kB / 1.231 GB, free: 14.88 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.6613, allocations: 51.98 kB / 1.231 GB, free: 14.83 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.6613, allocations: 32 kB / 1.231 GB, free: 14.8 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.6628, allocations: 1.112 MB / 1.232 GB, free: 13.69 MB / 1.073 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.004466/0.6672, allocations: 5.301 MB / 1.237 GB, free: 8.219 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.6683, allocations: 0.7729 MB / 1.238 GB, free: 7.422 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.6687, allocations: 372.4 kB / 1.238 GB, free: 7.051 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003113/0.6718, allocations: 1.866 MB / 1.24 GB, free: 5.184 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006969/0.6725, allocations: 0.6827 MB / 1.241 GB, free: 4.43 MB / 1.073 GB Notification: Performance of pre-optimization done (n=67): time 1.473e-06/0.6725, allocations: 0 / 1.241 GB, free: 4.43 MB / 1.073 GB Notification: Performance of matching and sorting (n=81): time 0.02601/0.6985, allocations: 18.71 MB / 1.259 GB, free: 1.668 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.6986, allocations: 170.9 kB / 1.259 GB, free: 1.465 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.7004, allocations: 1.887 MB / 1.261 GB, free: 15.54 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.7005, allocations: 41.7 kB / 1.261 GB, free: 15.49 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007221/0.7012, allocations: 0.9185 MB / 1.262 GB, free: 14.56 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.7014, allocations: 301.4 kB / 1.262 GB, free: 14.27 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.7016, allocations: 222.8 kB / 1.262 GB, free: 14.04 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.7017, allocations: 345.9 kB / 1.263 GB, free: 13.7 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.7023, allocations: 446.4 kB / 1.263 GB, free: 13.26 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/0.7031, allocations: 0.9752 MB / 1.264 GB, free: 12.09 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.7045, allocations: 1.253 MB / 1.265 GB, free: 10.7 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7045, allocations: 0 / 1.265 GB, free: 10.7 MB / 1.104 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002132/0.7066, allocations: 1.603 MB / 1.267 GB, free: 9.078 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.7066, allocations: 13.88 kB / 1.267 GB, free: 9.066 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7066, allocations: 8 kB / 1.267 GB, free: 9.059 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.707, allocations: 224.5 kB / 1.267 GB, free: 8.836 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.7075, allocations: 255.6 kB / 1.267 GB, free: 8.586 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.7104, allocations: 3.915 MB / 1.271 GB, free: 4.449 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.7111, allocations: 107.9 kB / 1.271 GB, free: 4.344 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.7112, allocations: 59.97 kB / 1.271 GB, free: 4.285 MB / 1.104 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.0005298/0.7117, allocations: 0.547 MB / 1.272 GB, free: 3.73 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.712, allocations: 202.7 kB / 1.272 GB, free: 3.531 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.714, allocations: 1.516 MB / 1.273 GB, free: 2.008 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.714, allocations: 8 kB / 1.274 GB, free: 2 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.714, allocations: 4 kB / 1.274 GB, free: 1.996 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/0.7155, allocations: 1.273 MB / 1.275 GB, free: 0.6523 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.7273, allocations: 8.137 MB / 1.283 GB, free: 8.379 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7273, allocations: 8 kB / 1.283 GB, free: 8.371 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.7277, allocations: 184.1 kB / 1.283 GB, free: 8.191 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002865/0.728, allocations: 159.9 kB / 1.283 GB, free: 8.035 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.728, allocations: 31.98 kB / 1.283 GB, free: 8.004 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.7297, allocations: 2.234 MB / 1.285 GB, free: 5.66 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7297, allocations: 11.94 kB / 1.285 GB, free: 5.648 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.732, allocations: 1.909 MB / 1.287 GB, free: 3.648 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.7324, allocations: 310.6 kB / 1.287 GB, free: 3.344 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.7325, allocations: 35.88 kB / 1.287 GB, free: 3.309 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.7331, allocations: 91.8 kB / 1.288 GB, free: 3.219 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.7332, allocations: 76.42 kB / 1.288 GB, free: 3.145 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.7333, allocations: 43.97 kB / 1.288 GB, free: 3.102 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.00119/0.7344, allocations: 1.339 MB / 1.289 GB, free: 1.742 MB / 1.12 GB Notification: Performance of sort global known variables: time 4e-08/0.7344, allocations: 3.938 kB / 1.289 GB, free: 1.738 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002756/0.7372, allocations: 1.28 MB / 1.29 GB, free: 468 kB / 1.12 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.005823/0.743, allocations: 3.577 MB / 1.294 GB, free: 12.96 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.7448, allocations: 1.333 MB / 1.295 GB, free: 11.61 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7448, allocations: 8.188 kB / 1.295 GB, free: 11.6 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.7456, allocations: 0.6243 MB / 1.296 GB, free: 10.96 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.748, allocations: 1.066 MB / 1.297 GB, free: 9.918 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.7646, allocations: 14.8 MB / 1.311 GB, free: 10.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.7653, allocations: 0.8987 MB / 1.312 GB, free: 9.555 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001041/0.7663, allocations: 424.8 kB / 1.312 GB, free: 9.141 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007706/0.7671, allocations: 0.8127 MB / 1.313 GB, free: 8.328 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/0.7671, allocations: 0 / 1.313 GB, free: 8.328 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09816/0.8652, allocations: 92.27 MB / 1.403 GB, free: 13.07 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.759/10.62, allocations: 11.48 kB / 1.403 GB, free: 13.06 MB / 1.245 GB " [Timeout remaining time 289] (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/jenkins/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: 17.27836890425533]