Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.001798/0.001798, allocations: 113.9 kB / 17.6 MB, free: 4.668 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.002005/0.002005, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.381/1.381, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 79.88 kB / 1.107 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9767/0.9787, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.164/4.143, allocations: 1.393 GB / 2.665 GB, free: 107.7 MB / 1.779 GB Notification: Performance of NFInst.instExpressions: time 0.3464/4.489, allocations: 337.7 MB / 2.995 GB, free: 37.78 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05417/4.543, allocations: 1.225 MB / 2.996 GB, free: 36.73 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 0.03574/4.579, allocations: 13.69 MB / 3.009 GB, free: 23.45 MB / 1.779 GB Notification: Performance of NFTyping.typeBindings: time 0.09397/4.673, allocations: 33.91 MB / 3.042 GB, free: 5.688 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.05504/4.728, allocations: 20.4 MB / 3.062 GB, free: 1.434 MB / 1.811 GB Notification: Performance of NFFlatten.flatten: time 0.0917/4.82, allocations: 57.96 MB / 3.119 GB, free: 7.312 MB / 1.873 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0494/4.869, allocations: 16.89 MB / 3.135 GB, free: 6.25 MB / 1.889 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06872/4.938, allocations: 25.76 MB / 3.16 GB, free: 12.44 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03817/4.976, allocations: 18.56 MB / 3.179 GB, free: 9.785 MB / 1.936 GB Notification: Performance of NFPackage.collectConstants: time 0.01015/4.986, allocations: 2.129 MB / 3.181 GB, free: 7.656 MB / 1.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05114/5.037, allocations: 18.29 MB / 3.198 GB, free: 5.34 MB / 1.951 GB Notification: Performance of NFScalarize.scalarize: time 0.01035/5.048, allocations: 5.106 MB / 3.203 GB, free: 220 kB / 1.951 GB Notification: Performance of NFVerifyModel.verify: time 0.02644/5.074, allocations: 11.17 MB / 3.214 GB, free: 4.988 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 0.08499/5.159, allocations: 41.08 MB / 3.254 GB, free: 11.77 MB / 2.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/5.159, allocations: 4 kB / 3.254 GB, free: 11.77 MB / 2.014 GB Notification: Performance of FrontEnd: time 1.603e-06/5.159, allocations: 0 / 3.254 GB, free: 11.77 MB / 2.014 GB Notification: Performance of Transformations before backend: time 0.00119/5.16, allocations: 0 / 3.254 GB, free: 11.77 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.05287/5.213, allocations: 21.57 MB / 3.276 GB, free: 5.926 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/5.213, allocations: 11.97 kB / 3.276 GB, free: 5.914 MB / 2.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005493/5.219, allocations: 1.63 MB / 3.277 GB, free: 4.273 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009842/5.228, allocations: 2.357 MB / 3.279 GB, free: 1.902 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04059/5.269, allocations: 19.03 MB / 3.298 GB, free: 14.76 MB / 2.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/5.27, allocations: 0.9738 MB / 3.299 GB, free: 13.79 MB / 2.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003895/5.274, allocations: 1.293 MB / 3.3 GB, free: 12.5 MB / 2.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03883/5.313, allocations: 14.62 MB / 3.315 GB, free: 13.09 MB / 2.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005652/5.313, allocations: 43.62 kB / 3.315 GB, free: 13.05 MB / 2.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003283/5.317, allocations: 0.5351 MB / 3.315 GB, free: 12.51 MB / 2.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003894/5.317, allocations: 344 kB / 3.315 GB, free: 12.18 MB / 2.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/5.341, allocations: 10.09 MB / 3.325 GB, free: 2.078 MB / 2.076 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.7183/6.059, allocations: 76.66 MB / 3.4 GB, free: 0.9476 GB / 2.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007532/6.066, allocations: 4.349 MB / 3.404 GB, free: 0.9455 GB / 2.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/6.07, allocations: 2.299 MB / 3.407 GB, free: 0.9445 GB / 2.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07672/6.147, allocations: 51.68 MB / 3.457 GB, free: 0.9046 GB / 2.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/6.147, allocations: 121.9 kB / 3.457 GB, free: 0.9045 GB / 2.076 GB Notification: Performance of pre-optimization done (n=412): time 2.474e-05/6.147, allocations: 3.938 kB / 3.457 GB, free: 0.9045 GB / 2.076 GB Notification: Performance of matching and sorting (n=412): time 0.01831/6.165, allocations: 7.082 MB / 3.464 GB, free: 0.901 GB / 2.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002401/6.166, allocations: 0.79 MB / 3.465 GB, free: 0.9001 GB / 2.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04191/6.207, allocations: 16.68 MB / 3.481 GB, free: 0.8918 GB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001514/6.209, allocations: 147.4 kB / 3.481 GB, free: 0.8917 GB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00861/6.218, allocations: 8.688 MB / 3.49 GB, free: 0.8844 GB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/6.22, allocations: 1.526 MB / 3.491 GB, free: 0.8831 GB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/6.222, allocations: 1.499 MB / 3.493 GB, free: 0.8823 GB / 2.076 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/6.222, allocations: 301.1 kB / 3.493 GB, free: 0.882 GB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/6.225, allocations: 2.085 MB / 3.495 GB, free: 0.881 GB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/6.23, allocations: 5.278 MB / 3.5 GB, free: 0.876 GB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007552/6.237, allocations: 7.139 MB / 3.507 GB, free: 0.8705 GB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/6.238, allocations: 19.72 kB / 3.507 GB, free: 0.8705 GB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01801/6.256, allocations: 8.448 MB / 3.516 GB, free: 0.8664 GB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/6.256, allocations: 39.53 kB / 3.516 GB, free: 0.8664 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/6.256, allocations: 79.22 kB / 3.516 GB, free: 0.8664 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/6.256, allocations: 122.3 kB / 3.516 GB, free: 0.8664 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/6.261, allocations: 1.46 MB / 3.517 GB, free: 0.8661 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/6.261, allocations: 169.8 kB / 3.517 GB, free: 0.866 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/6.273, allocations: 1.353 MB / 3.519 GB, free: 0.8651 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/6.275, allocations: 399.5 kB / 3.519 GB, free: 0.865 GB / 2.076 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.009483/6.284, allocations: 3.574 MB / 3.523 GB, free: 0.8628 GB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005971/6.29, allocations: 1.744 MB / 3.524 GB, free: 0.8618 GB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/6.306, allocations: 7.556 MB / 3.532 GB, free: 0.8579 GB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000231/6.306, allocations: 83.25 kB / 3.532 GB, free: 0.8579 GB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-05/6.306, allocations: 11.88 kB / 3.532 GB, free: 0.8578 GB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004581/6.311, allocations: 3.839 MB / 3.535 GB, free: 0.8549 GB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04843/6.359, allocations: 28.81 MB / 3.564 GB, free: 0.8359 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.894e-05/6.359, allocations: 29.06 kB / 3.564 GB, free: 0.8359 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/6.362, allocations: 0.7741 MB / 3.564 GB, free: 0.8358 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.169e-05/6.362, allocations: 51.72 kB / 3.564 GB, free: 0.8358 GB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003134/6.362, allocations: 156.6 kB / 3.565 GB, free: 0.8357 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.712e-05/6.362, allocations: 70.47 kB / 3.565 GB, free: 0.8357 GB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-05/6.362, allocations: 48.34 kB / 3.565 GB, free: 0.8357 GB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/6.376, allocations: 12.05 MB / 3.576 GB, free: 0.8236 GB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007062/6.383, allocations: 2.936 MB / 3.579 GB, free: 0.8207 GB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004263/6.387, allocations: 159.6 kB / 3.579 GB, free: 0.8206 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009007/6.396, allocations: 259.4 kB / 3.58 GB, free: 0.8203 GB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007774/6.397, allocations: 398.8 kB / 3.58 GB, free: 0.82 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005516/6.398, allocations: 259.8 kB / 3.58 GB, free: 0.8197 GB / 2.076 GB Notification: Performance of sorting global known variables: time 0.02107/6.419, allocations: 11.86 MB / 3.592 GB, free: 0.8082 GB / 2.076 GB Notification: Performance of sort global known variables: time 4.71e-07/6.419, allocations: 0 / 3.592 GB, free: 0.8082 GB / 2.076 GB Notification: Performance of remove unused functions: time 0.01856/6.437, allocations: 5.407 MB / 3.597 GB, free: 0.8029 GB / 2.076 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.02504/6.462, allocations: 16.9 MB / 3.614 GB, free: 0.7863 GB / 2.076 GB Notification: Performance of simCode: created initialization part: time 0.00863/6.471, allocations: 5.47 MB / 3.619 GB, free: 0.7809 GB / 2.076 GB Notification: Performance of simCode: created event and clocks part: time 3.755e-05/6.471, allocations: 11.38 kB / 3.619 GB, free: 0.7809 GB / 2.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/6.474, allocations: 2.426 MB / 3.621 GB, free: 0.7786 GB / 2.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04754/6.522, allocations: 10.01 MB / 3.631 GB, free: 0.7693 GB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1942/6.716, allocations: 118.7 MB / 3.747 GB, free: 0.6489 GB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008529/6.725, allocations: 7.779 MB / 3.755 GB, free: 0.6413 GB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.01198/6.737, allocations: 3.245 MB / 3.758 GB, free: 0.6382 GB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009516/6.746, allocations: 8.064 MB / 3.766 GB, free: 0.6303 GB / 2.076 GB Notification: Performance of SimCode: time 1.523e-06/6.746, allocations: 0 / 3.766 GB, free: 0.6303 GB / 2.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5835/7.33, allocations: 0.4969 GB / 4.263 GB, free: 138.6 MB / 2.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 62.97/70.3, allocations: 12.03 kB / 4.263 GB, free: 138.6 MB / 2.076 GB " [Timeout remaining time 229] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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: 78.75741245699464]