Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001194, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.898/2.898, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004259, allocations: 8 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.948/0.9484, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.422/4.37, allocations: 1.267 GB / 2.289 GB, free: 7.25 MB / 1.467 GB Notification: Performance of NFInst.instExpressions: time 1.759/6.129, allocations: 313 MB / 2.595 GB, free: 85.12 MB / 1.467 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05343/6.182, allocations: 1.055 MB / 2.596 GB, free: 85.12 MB / 1.467 GB Notification: Performance of NFTyping.typeComponents: time 0.03706/6.219, allocations: 8.83 MB / 2.604 GB, free: 81.22 MB / 1.467 GB Notification: Performance of NFTyping.typeBindings: time 0.08987/6.309, allocations: 24.87 MB / 2.629 GB, free: 66.22 MB / 1.467 GB Notification: Performance of NFTyping.typeClassSections: time 0.05296/6.362, allocations: 13.05 MB / 2.641 GB, free: 58.78 MB / 1.467 GB Notification: Performance of NFFlatten.flatten: time 0.08614/6.449, allocations: 64.29 MB / 2.704 GB, free: 1.523 MB / 1.467 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05236/6.501, allocations: 14.61 MB / 2.718 GB, free: 3.066 MB / 1.482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06192/6.563, allocations: 18.94 MB / 2.737 GB, free: 0.9492 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04245/6.605, allocations: 18.38 MB / 2.755 GB, free: 15.71 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.008581/6.614, allocations: 0.6328 MB / 2.755 GB, free: 15.08 MB / 1.529 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05118/6.665, allocations: 12.14 MB / 2.767 GB, free: 3.172 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.012/6.677, allocations: 3.051 MB / 2.77 GB, free: 180 kB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.01472/6.692, allocations: 4.175 MB / 2.774 GB, free: 11.98 MB / 1.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06918/6.761, allocations: 32.23 MB / 2.806 GB, free: 12.91 MB / 1.576 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/6.761, allocations: 0 / 2.806 GB, free: 12.91 MB / 1.576 GB Notification: Performance of FrontEnd: time 3.597e-06/6.761, allocations: 0 / 2.806 GB, free: 12.91 MB / 1.576 GB Notification: Performance of Transformations before backend: time 0.001622/6.763, allocations: 0 / 2.806 GB, free: 12.91 MB / 1.576 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.06253/6.826, allocations: 16.97 MB / 2.822 GB, free: 12.16 MB / 1.592 GB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/6.826, allocations: 8.031 kB / 2.822 GB, free: 12.15 MB / 1.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/6.838, allocations: 2.258 MB / 2.825 GB, free: 9.871 MB / 1.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05187/6.89, allocations: 17.52 MB / 2.842 GB, free: 8.734 MB / 1.607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001495/6.892, allocations: 0.9868 MB / 2.843 GB, free: 7.75 MB / 1.607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/6.897, allocations: 1.292 MB / 2.844 GB, free: 6.461 MB / 1.607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05421/6.951, allocations: 14.39 MB / 2.858 GB, free: 7.41 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007117/6.952, allocations: 35.69 kB / 2.858 GB, free: 7.375 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00438/6.956, allocations: 0.5312 MB / 2.859 GB, free: 6.844 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004506/6.957, allocations: 343.9 kB / 2.859 GB, free: 6.508 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0254/6.982, allocations: 10 MB / 2.869 GB, free: 12.55 MB / 1.639 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.9253/7.907, allocations: 74.77 MB / 2.942 GB, free: 0.8027 GB / 1.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009117/7.917, allocations: 4.54 MB / 2.946 GB, free: 0.8021 GB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/7.921, allocations: 2.419 MB / 2.948 GB, free: 0.8019 GB / 1.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07376/7.995, allocations: 51.88 MB / 2.999 GB, free: 0.7654 GB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/7.995, allocations: 127.9 kB / 2.999 GB, free: 0.7654 GB / 1.686 GB Notification: Performance of pre-optimization done (n=412): time 2.049e-05/7.995, allocations: 0 / 2.999 GB, free: 0.7654 GB / 1.686 GB Notification: Performance of matching and sorting (n=412): time 0.01642/8.011, allocations: 6.952 MB / 3.006 GB, free: 0.7644 GB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/8.012, allocations: 0.7912 MB / 3.007 GB, free: 0.7635 GB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04709/8.059, allocations: 16.27 MB / 3.023 GB, free: 0.7568 GB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.001574/8.06, allocations: 145.1 kB / 3.023 GB, free: 0.7567 GB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.01277/8.073, allocations: 8.653 MB / 3.031 GB, free: 0.7495 GB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.003787/8.077, allocations: 1.455 MB / 3.033 GB, free: 0.7483 GB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/8.078, allocations: 127.7 kB / 3.033 GB, free: 0.7482 GB / 1.686 GB Notification: Performance of setup shared object (initialization): time 0.0006979/8.079, allocations: 0.55 MB / 3.033 GB, free: 0.7477 GB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004402/8.083, allocations: 2.015 MB / 3.035 GB, free: 0.7467 GB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007043/8.09, allocations: 5.066 MB / 3.04 GB, free: 0.742 GB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00566/8.096, allocations: 2.929 MB / 3.043 GB, free: 0.7407 GB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.022e-05/8.096, allocations: 20.84 kB / 3.043 GB, free: 0.7407 GB / 1.686 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01966/8.116, allocations: 8.106 MB / 3.051 GB, free: 0.7367 GB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/8.116, allocations: 39.34 kB / 3.051 GB, free: 0.7367 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/8.116, allocations: 77.42 kB / 3.051 GB, free: 0.7367 GB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/8.116, allocations: 120.5 kB / 3.051 GB, free: 0.7367 GB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/8.122, allocations: 1.409 MB / 3.053 GB, free: 0.7364 GB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001894/8.122, allocations: 162.4 kB / 3.053 GB, free: 0.7364 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01614/8.138, allocations: 1.854 MB / 3.055 GB, free: 0.7353 GB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/8.14, allocations: 375.9 kB / 3.055 GB, free: 0.7352 GB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01069/8.15, allocations: 3.558 MB / 3.059 GB, free: 0.733 GB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006077/8.156, allocations: 1.651 MB / 3.06 GB, free: 0.7322 GB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/8.172, allocations: 7.573 MB / 3.068 GB, free: 0.7283 GB / 1.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002103/8.172, allocations: 80.16 kB / 3.068 GB, free: 0.7282 GB / 1.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.756e-05/8.173, allocations: 8.875 kB / 3.068 GB, free: 0.7282 GB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003961/8.177, allocations: 3.824 MB / 3.071 GB, free: 0.7253 GB / 1.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06096/8.237, allocations: 28.68 MB / 3.099 GB, free: 0.6974 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000206/8.238, allocations: 32 kB / 3.099 GB, free: 0.6974 GB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003111/8.241, allocations: 0.7838 MB / 3.1 GB, free: 0.6966 GB / 1.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/8.241, allocations: 56 kB / 3.1 GB, free: 0.6966 GB / 1.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008921/8.242, allocations: 152 kB / 3.1 GB, free: 0.6964 GB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.707e-05/8.242, allocations: 67.78 kB / 3.1 GB, free: 0.6964 GB / 1.686 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.9e-05/8.242, allocations: 49.84 kB / 3.1 GB, free: 0.6963 GB / 1.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01861/8.261, allocations: 11.91 MB / 3.112 GB, free: 0.6842 GB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01099/8.272, allocations: 3.125 MB / 3.115 GB, free: 0.6811 GB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007273/8.279, allocations: 132 kB / 3.115 GB, free: 0.681 GB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01305/8.292, allocations: 0.6167 MB / 3.116 GB, free: 0.6804 GB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00125/8.293, allocations: 394.8 kB / 3.116 GB, free: 0.6801 GB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001422/8.295, allocations: 259.7 kB / 3.116 GB, free: 0.6798 GB / 1.686 GB Notification: Performance of sorting global known variables: time 0.03063/8.326, allocations: 11.53 MB / 3.128 GB, free: 0.6686 GB / 1.686 GB Notification: Performance of sort global known variables: time 5.82e-07/8.326, allocations: 3.938 kB / 3.128 GB, free: 0.6686 GB / 1.686 GB Notification: Performance of remove unused functions: time 0.02543/8.351, allocations: 5.252 MB / 3.133 GB, free: 0.6638 GB / 1.686 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01383/8.365, allocations: 4.557 MB / 3.137 GB, free: 0.6598 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.01129/8.376, allocations: 5.46 MB / 3.143 GB, free: 0.6545 GB / 1.686 GB Notification: Performance of simCode: created event and clocks part: time 4.72e-05/8.376, allocations: 12.28 kB / 3.143 GB, free: 0.6545 GB / 1.686 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/8.381, allocations: 2.567 MB / 3.145 GB, free: 0.652 GB / 1.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05943/8.44, allocations: 9.671 MB / 3.155 GB, free: 0.6431 GB / 1.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0686/8.509, allocations: 32.57 MB / 3.186 GB, free: 0.6109 GB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01767/8.527, allocations: 7.782 MB / 3.194 GB, free: 0.6033 GB / 1.686 GB Notification: Performance of simCode: alias equations: time 0.02389/8.551, allocations: 3.229 MB / 3.197 GB, free: 0.6003 GB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004966/8.556, allocations: 1.07 MB / 3.198 GB, free: 0.5993 GB / 1.686 GB Notification: Performance of SimCode: time 1.794e-06/8.556, allocations: 0 / 3.198 GB, free: 0.5993 GB / 1.686 GB Notification: Performance of Templates: time 0.5445/9.1, allocations: 335.4 MB / 3.526 GB, free: 280.7 MB / 1.686 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches