Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.001558/0.001558, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001718/0.001718, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.032/3.032, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.001925/0.001925, allocations: 69.58 kB / 1.171 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.002/3.359, allocations: 1.4 GB / 2.745 GB, free: 6.281 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 1.68/5.039, allocations: 338.6 MB / 3.076 GB, free: 44.57 MB / 2.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05444/5.094, allocations: 1.693 MB / 3.078 GB, free: 44.57 MB / 2.014 GB Notification: Performance of NFTyping.typeComponents: time 0.04047/5.134, allocations: 13.71 MB / 3.091 GB, free: 44.56 MB / 2.014 GB Notification: Performance of NFTyping.typeBindings: time 0.09263/5.227, allocations: 34.29 MB / 3.124 GB, free: 44.24 MB / 2.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.04947/5.276, allocations: 20.97 MB / 3.145 GB, free: 43.49 MB / 2.014 GB Notification: Performance of NFFlatten.flatten: time 0.08737/5.364, allocations: 58.69 MB / 3.202 GB, free: 43.36 MB / 2.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06158/5.425, allocations: 16.94 MB / 3.219 GB, free: 42.04 MB / 2.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07734/5.503, allocations: 28.85 MB / 3.247 GB, free: 40.41 MB / 2.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04279/5.545, allocations: 18.26 MB / 3.265 GB, free: 36.76 MB / 2.014 GB Notification: Performance of NFPackage.collectConstants: time 0.01144/5.557, allocations: 2.131 MB / 3.267 GB, free: 36.76 MB / 2.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05688/5.614, allocations: 18.68 MB / 3.285 GB, free: 36.53 MB / 2.014 GB Notification: Performance of NFScalarize.scalarize: time 0.01231/5.626, allocations: 5.102 MB / 3.29 GB, free: 35.59 MB / 2.014 GB Notification: Performance of NFVerifyModel.verify: time 0.03101/5.657, allocations: 11.21 MB / 3.301 GB, free: 32.17 MB / 2.014 GB Notification: Performance of NFConvertDAE.convert: time 0.08606/5.743, allocations: 41.58 MB / 3.342 GB, free: 12.65 MB / 2.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/5.743, allocations: 3.938 kB / 3.342 GB, free: 12.65 MB / 2.014 GB Notification: Performance of FrontEnd: time 2.205e-06/5.743, allocations: 0 / 3.342 GB, free: 12.65 MB / 2.014 GB Notification: Performance of Transformations before backend: time 0.001483/5.745, allocations: 4 kB / 3.342 GB, free: 12.64 MB / 2.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.06286/5.807, allocations: 21.52 MB / 3.363 GB, free: 1.105 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/5.807, allocations: 15.97 kB / 3.363 GB, free: 1.09 MB / 2.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002879/5.808, allocations: 327.7 kB / 3.363 GB, free: 0.7695 MB / 2.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006386/5.814, allocations: 1.636 MB / 3.365 GB, free: 15.91 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/5.826, allocations: 2.362 MB / 3.367 GB, free: 13.55 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04472/5.871, allocations: 18.89 MB / 3.385 GB, free: 13.12 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001193/5.872, allocations: 0.9727 MB / 3.386 GB, free: 12.15 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005527/5.878, allocations: 1.289 MB / 3.388 GB, free: 10.86 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04639/5.924, allocations: 14.62 MB / 3.402 GB, free: 11.61 MB / 2.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004335/5.924, allocations: 52.61 kB / 3.402 GB, free: 11.58 MB / 2.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003409/5.928, allocations: 0.5312 MB / 3.402 GB, free: 11.05 MB / 2.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003529/5.928, allocations: 346.9 kB / 3.403 GB, free: 10.71 MB / 2.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02311/5.951, allocations: 10.1 MB / 3.413 GB, free: 0.8516 MB / 2.061 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.1117/6.063, allocations: 76.25 MB / 3.487 GB, free: 1.832 MB / 2.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007926/6.071, allocations: 4.365 MB / 3.491 GB, free: 13.3 MB / 2.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003821/6.075, allocations: 2.305 MB / 3.494 GB, free: 10.92 MB / 2.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0784/6.153, allocations: 22.82 MB / 3.516 GB, free: 4.164 MB / 2.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/6.153, allocations: 122.1 kB / 3.516 GB, free: 4.051 MB / 2.17 GB Notification: Performance of pre-optimization done (n=412): time 1.194e-05/6.153, allocations: 0 / 3.516 GB, free: 4.051 MB / 2.17 GB Notification: Performance of matching and sorting (n=412): time 0.02013/6.173, allocations: 7.078 MB / 3.523 GB, free: 13.02 MB / 2.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004698/6.174, allocations: 0.7952 MB / 3.524 GB, free: 12.05 MB / 2.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04733/6.221, allocations: 16.74 MB / 3.54 GB, free: 11.41 MB / 2.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00185/6.223, allocations: 145.7 kB / 3.54 GB, free: 11.27 MB / 2.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.01508/6.238, allocations: 8.692 MB / 3.549 GB, free: 2.57 MB / 2.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.003006/6.241, allocations: 1.538 MB / 3.55 GB, free: 1.059 MB / 2.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005995/6.247, allocations: 1.492 MB / 3.552 GB, free: 15.56 MB / 2.217 GB Notification: Performance of setup shared object (initialization): time 0.0001317/6.247, allocations: 312.9 kB / 3.552 GB, free: 15.25 MB / 2.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004658/6.252, allocations: 2.086 MB / 3.554 GB, free: 13.16 MB / 2.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00869/6.261, allocations: 5.288 MB / 3.559 GB, free: 6.57 MB / 2.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/6.272, allocations: 7.144 MB / 3.566 GB, free: 14.67 MB / 2.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/6.272, allocations: 24 kB / 3.566 GB, free: 14.64 MB / 2.232 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02399/6.296, allocations: 8.453 MB / 3.574 GB, free: 6.672 MB / 2.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/6.296, allocations: 40 kB / 3.574 GB, free: 6.633 MB / 2.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000191/6.296, allocations: 83.94 kB / 3.575 GB, free: 6.551 MB / 2.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/6.296, allocations: 120 kB / 3.575 GB, free: 6.434 MB / 2.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005744/6.302, allocations: 1.461 MB / 3.576 GB, free: 5.086 MB / 2.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002302/6.302, allocations: 171.3 kB / 3.576 GB, free: 4.953 MB / 2.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/6.316, allocations: 1.345 MB / 3.578 GB, free: 3.602 MB / 2.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/6.318, allocations: 395.9 kB / 3.578 GB, free: 3.215 MB / 2.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (847): * Single equations (assignments): 847 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01151/6.33, allocations: 3.582 MB / 3.581 GB, free: 15.73 MB / 2.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007255/6.337, allocations: 1.747 MB / 3.583 GB, free: 13.97 MB / 2.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/6.355, allocations: 7.717 MB / 3.591 GB, free: 6.434 MB / 2.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002301/6.356, allocations: 83.94 kB / 3.591 GB, free: 6.352 MB / 2.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-05/6.356, allocations: 8 kB / 3.591 GB, free: 6.344 MB / 2.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005369/6.361, allocations: 3.886 MB / 3.595 GB, free: 2.16 MB / 2.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06628/6.427, allocations: 28.94 MB / 3.623 GB, free: 5.121 MB / 2.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001485/6.428, allocations: 36.98 kB / 3.623 GB, free: 5.086 MB / 2.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/6.431, allocations: 0.7809 MB / 3.624 GB, free: 4.355 MB / 2.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-05/6.431, allocations: 48 kB / 3.624 GB, free: 4.309 MB / 2.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007899/6.432, allocations: 159.9 kB / 3.624 GB, free: 4.152 MB / 2.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.938e-05/6.432, allocations: 70.05 kB / 3.624 GB, free: 4.098 MB / 2.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.282e-05/6.432, allocations: 48.28 kB / 3.624 GB, free: 4.062 MB / 2.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/6.456, allocations: 12.22 MB / 3.636 GB, free: 7.297 MB / 2.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01107/6.467, allocations: 2.863 MB / 3.639 GB, free: 4.422 MB / 2.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005847/6.473, allocations: 159.7 kB / 3.639 GB, free: 4.266 MB / 2.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/6.483, allocations: 263.4 kB / 3.639 GB, free: 4.008 MB / 2.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/6.484, allocations: 415.2 kB / 3.639 GB, free: 3.629 MB / 2.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001244/6.486, allocations: 255.9 kB / 3.64 GB, free: 3.379 MB / 2.295 GB Notification: Performance of sorting global known variables: time 0.03006/6.516, allocations: 11.91 MB / 3.651 GB, free: 7.57 MB / 2.311 GB Notification: Performance of sort global known variables: time 1.81e-07/6.516, allocations: 0 / 3.651 GB, free: 7.57 MB / 2.311 GB Notification: Performance of remove unused functions: time 0.02368/6.539, allocations: 5.426 MB / 3.657 GB, free: 2.133 MB / 2.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03813/6.578, allocations: 17.03 MB / 3.673 GB, free: 1.02 MB / 2.326 GB Notification: Performance of simCode: created initialization part: time 0.01252/6.59, allocations: 5.509 MB / 3.679 GB, free: 11.79 MB / 2.342 GB Notification: Performance of simCode: created event and clocks part: time 4.978e-05/6.59, allocations: 15.66 kB / 3.679 GB, free: 11.78 MB / 2.342 GB Notification: Performance of simCode: created simulation system equations: time 0.005186/6.595, allocations: 2.467 MB / 3.681 GB, free: 9.324 MB / 2.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05675/6.652, allocations: 10.03 MB / 3.691 GB, free: 15.68 MB / 2.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2934/6.945, allocations: 119 MB / 3.807 GB, free: 4.469 MB / 2.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01645/6.962, allocations: 7.799 MB / 3.815 GB, free: 12.62 MB / 2.482 GB Notification: Performance of simCode: alias equations: time 0.01703/6.979, allocations: 3.258 MB / 3.818 GB, free: 9.445 MB / 2.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01646/6.995, allocations: 8.072 MB / 3.826 GB, free: 1.371 MB / 2.482 GB Notification: Performance of SimCode: time 1.653e-06/6.995, allocations: 0 / 3.826 GB, free: 1.371 MB / 2.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.967/8.962, allocations: 0.502 GB / 4.328 GB, free: 1.17 GB / 2.608 GB Notification: Performance of buildModelFMU: Generate platform static: time 69.99/78.95, allocations: 0 / 4.328 GB, free: 1.17 GB / 2.608 GB " [Timeout remaining time 221] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 90.99907008797163]