Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.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.001747/0.001747, 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.002622/0.002622, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.387/3.387, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] 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.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",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.001956/0.001956, allocations: 66.75 kB / 1.171 GB, free: 19.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3879, allocations: 179 MB / 1.345 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2667/0.6546, allocations: 241.6 MB / 1.581 GB, free: 14.14 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.9918/1.646, allocations: 43.58 MB / 1.624 GB, free: 59.79 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01208/1.659, allocations: 332.2 kB / 1.624 GB, free: 59.79 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01165/1.67, allocations: 3.297 MB / 1.627 GB, free: 59.79 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02785/1.698, allocations: 8.3 MB / 1.635 GB, free: 59.53 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01877/1.717, allocations: 5.907 MB / 1.641 GB, free: 59.36 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04406/1.761, allocations: 26.95 MB / 1.668 GB, free: 59.3 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01862/1.779, allocations: 7.506 MB / 1.675 GB, free: 58.8 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03208/1.812, allocations: 10.36 MB / 1.685 GB, free: 57.96 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01917/1.831, allocations: 7.016 MB / 1.692 GB, free: 56.4 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005526/1.836, allocations: 1.052 MB / 1.693 GB, free: 56.4 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01864/1.855, allocations: 3.685 MB / 1.696 GB, free: 55.41 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.006809/1.862, allocations: 2.698 MB / 1.699 GB, free: 53.76 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01707/1.879, allocations: 5.506 MB / 1.704 GB, free: 50.2 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03573/1.914, allocations: 18.48 MB / 1.722 GB, free: 41.14 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.914, allocations: 3.094 kB / 1.722 GB, free: 41.14 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.795e-06/1.914, allocations: 0 / 1.722 GB, free: 41.14 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006537/1.915, allocations: 0 / 1.722 GB, free: 41.14 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.03353/1.949, allocations: 10.52 MB / 1.733 GB, free: 34.02 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.949, allocations: 12.91 kB / 1.733 GB, free: 34.01 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002074/1.949, allocations: 126.2 kB / 1.733 GB, free: 34 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003177/1.952, allocations: 0.6625 MB / 1.734 GB, free: 33.52 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/1.962, allocations: 1.497 MB / 1.735 GB, free: 32.79 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/1.985, allocations: 11.08 MB / 1.746 GB, free: 25.13 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005736/1.986, allocations: 0.5026 MB / 1.746 GB, free: 24.6 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/1.988, allocations: 0.5212 MB / 1.747 GB, free: 24.08 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/2.006, allocations: 7.364 MB / 1.754 GB, free: 16.55 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/2.006, allocations: 7.938 kB / 1.754 GB, free: 16.54 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007229/2.007, allocations: 204 kB / 1.754 GB, free: 16.34 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/2.007, allocations: 140 kB / 1.754 GB, free: 16.21 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/2.021, allocations: 6.387 MB / 1.761 GB, free: 9.805 MB / 1.295 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.06181/2.083, allocations: 34.48 MB / 1.794 GB, free: 5.457 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006212/2.089, allocations: 2.47 MB / 1.797 GB, free: 2.984 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004098/2.093, allocations: 1.759 MB / 1.798 GB, free: 1.227 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/2.095, allocations: 243.9 kB / 1.799 GB, free: 1.004 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004527/2.099, allocations: 1.904 MB / 1.8 GB, free: 15.09 MB / 1.342 GB Notification: Performance of pre-optimization done (n=212): time 4.799e-06/2.099, allocations: 0 / 1.8 GB, free: 15.09 MB / 1.342 GB Notification: Performance of matching and sorting (n=212): time 0.01468/2.114, allocations: 5.164 MB / 1.806 GB, free: 9.918 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/2.114, allocations: 75.75 kB / 1.806 GB, free: 9.836 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02214/2.136, allocations: 9.223 MB / 1.815 GB, free: 0.6328 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/2.137, allocations: 93.64 kB / 1.815 GB, free: 0.5352 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.006741/2.144, allocations: 3.827 MB / 1.818 GB, free: 12.71 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001839/2.146, allocations: 0.7675 MB / 1.819 GB, free: 11.96 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00182/2.148, allocations: 0.7806 MB / 1.82 GB, free: 11.17 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001507/2.148, allocations: 301.1 kB / 1.82 GB, free: 10.87 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/2.152, allocations: 1.751 MB / 1.822 GB, free: 9.117 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006107/2.158, allocations: 3.355 MB / 1.825 GB, free: 5.133 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009471/2.167, allocations: 4.441 MB / 1.83 GB, free: 248 kB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/2.167, allocations: 8 kB / 1.83 GB, free: 240 kB / 1.357 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01613/2.184, allocations: 5.268 MB / 1.835 GB, free: 10.91 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/2.184, allocations: 16 kB / 1.835 GB, free: 10.9 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.466e-05/2.184, allocations: 32 kB / 1.835 GB, free: 10.87 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.032e-05/2.184, allocations: 51.94 kB / 1.835 GB, free: 10.82 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/2.188, allocations: 0.8272 MB / 1.836 GB, free: 9.988 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001117/2.188, allocations: 75.66 kB / 1.836 GB, free: 9.914 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009795/2.198, allocations: 0.6729 MB / 1.836 GB, free: 9.238 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/2.199, allocations: 156 kB / 1.836 GB, free: 9.086 MB / 1.373 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (402): * Single equations (assignments): 402 * 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.008784/2.208, allocations: 3.035 MB / 1.839 GB, free: 6.039 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004119/2.212, allocations: 0.7646 MB / 1.84 GB, free: 5.27 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/2.226, allocations: 4.254 MB / 1.844 GB, free: 1.016 MB / 1.373 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/2.226, allocations: 23.94 kB / 1.844 GB, free: 0.9922 MB / 1.373 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/2.226, allocations: 0 / 1.844 GB, free: 0.9922 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008286/2.234, allocations: 3.363 MB / 1.848 GB, free: 13.58 MB / 1.389 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 postOpt removeSimpleEquations (simulation): time 0.03151/2.265, allocations: 11.39 MB / 1.859 GB, free: 2.113 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/2.265, allocations: 4 kB / 1.859 GB, free: 2.109 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/2.268, allocations: 0.5581 MB / 1.859 GB, free: 1.551 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.332e-05/2.268, allocations: 16 kB / 1.859 GB, free: 1.535 MB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/2.269, allocations: 75.94 kB / 1.859 GB, free: 1.461 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.421e-05/2.269, allocations: 19.92 kB / 1.859 GB, free: 1.441 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/2.269, allocations: 4 kB / 1.859 GB, free: 1.438 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/2.284, allocations: 6.388 MB / 1.866 GB, free: 11 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006978/2.291, allocations: 1.404 MB / 1.867 GB, free: 9.598 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002809/2.294, allocations: 55.98 kB / 1.867 GB, free: 9.543 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006463/2.3, allocations: 287.5 kB / 1.867 GB, free: 9.262 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000502/2.301, allocations: 149.7 kB / 1.868 GB, free: 9.117 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004327/2.301, allocations: 115.9 kB / 1.868 GB, free: 9.004 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01688/2.318, allocations: 6.56 MB / 1.874 GB, free: 2.469 MB / 1.404 GB Notification: Performance of sort global known variables: time 2.81e-07/2.318, allocations: 0 / 1.874 GB, free: 2.469 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.01073/2.329, allocations: 2.105 MB / 1.876 GB, free: 368 kB / 1.404 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].actPos.y,chi.valEva.val[2].actPos.y,chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].actPos.y,chi.valCon.val[2].actPos.y,chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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.01795/2.347, allocations: 7.933 MB / 1.884 GB, free: 8.469 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.009762/2.356, allocations: 3.858 MB / 1.888 GB, free: 4.613 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/2.356, allocations: 0 / 1.888 GB, free: 4.613 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.004212/2.361, allocations: 1.664 MB / 1.889 GB, free: 2.949 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02604/2.387, allocations: 4.602 MB / 1.894 GB, free: 14.5 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1607/2.547, allocations: 64.65 MB / 1.957 GB, free: 12.8 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009239/2.557, allocations: 5.477 MB / 1.962 GB, free: 7.297 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.01033/2.567, allocations: 2.084 MB / 1.964 GB, free: 5.242 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008461/2.575, allocations: 3.354 MB / 1.968 GB, free: 1.887 MB / 1.498 GB Notification: Performance of SimCode: time 1.553e-06/2.575, allocations: 0 / 1.968 GB, free: 1.887 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4106/2.986, allocations: 228.6 MB / 2.191 GB, free: 15.05 MB / 1.732 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.42/31.4, allocations: 4.062 kB / 2.191 GB, free: 15.05 MB / 1.732 GB " [Timeout remaining time 268] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 40.19864336197497]