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.001733/0.001733, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002481/0.002481, allocations: 216.8 kB / 22.26 MB, free: 5.121 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.928/1.928, allocations: 230.6 MB / 256 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.526/3.526, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",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.001984/0.001984, allocations: 66.05 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3787, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2846/0.6633, allocations: 241.5 MB / 1.589 GB, free: 6.082 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 1.006/1.669, allocations: 43.59 MB / 1.631 GB, free: 59.74 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01078/1.68, allocations: 333.3 kB / 1.632 GB, free: 59.74 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/1.692, allocations: 3.301 MB / 1.635 GB, free: 59.7 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02739/1.719, allocations: 8.3 MB / 1.643 GB, free: 59.41 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01515/1.734, allocations: 5.906 MB / 1.649 GB, free: 59.23 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04362/1.778, allocations: 26.96 MB / 1.675 GB, free: 59.18 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01682/1.795, allocations: 7.517 MB / 1.682 GB, free: 58.5 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02569/1.82, allocations: 10.35 MB / 1.693 GB, free: 54.32 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01482/1.835, allocations: 7.009 MB / 1.699 GB, free: 51.64 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003925/1.839, allocations: 1.053 MB / 1.7 GB, free: 51.63 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01509/1.854, allocations: 3.682 MB / 1.704 GB, free: 50.64 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005373/1.859, allocations: 2.696 MB / 1.707 GB, free: 48.99 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01613/1.876, allocations: 5.513 MB / 1.712 GB, free: 45.43 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03457/1.91, allocations: 18.49 MB / 1.73 GB, free: 35.57 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/1.91, allocations: 0 / 1.73 GB, free: 35.57 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.613e-06/1.91, allocations: 0 / 1.73 GB, free: 35.57 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0005508/1.911, allocations: 0 / 1.73 GB, free: 35.57 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.03416/1.945, allocations: 10.52 MB / 1.74 GB, free: 28.44 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.945, allocations: 14.59 kB / 1.74 GB, free: 28.44 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002619/1.948, allocations: 0.6627 MB / 1.741 GB, free: 27.96 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00918/1.957, allocations: 1.491 MB / 1.742 GB, free: 27.24 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02218/1.979, allocations: 11.07 MB / 1.753 GB, free: 18.04 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005199/1.979, allocations: 0.5088 MB / 1.754 GB, free: 17.51 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/1.981, allocations: 0.5078 MB / 1.754 GB, free: 17 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/1.998, allocations: 7.363 MB / 1.761 GB, free: 9.465 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/1.998, allocations: 11.94 kB / 1.761 GB, free: 9.453 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006696/1.999, allocations: 210.8 kB / 1.762 GB, free: 9.25 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/1.999, allocations: 143.8 kB / 1.762 GB, free: 9.109 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/2.014, allocations: 6.387 MB / 1.768 GB, free: 2.707 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.06779/2.081, allocations: 34.46 MB / 1.802 GB, free: 14.37 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006693/2.088, allocations: 2.485 MB / 1.804 GB, free: 11.89 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00448/2.092, allocations: 1.765 MB / 1.806 GB, free: 10.13 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/2.094, allocations: 241.5 kB / 1.806 GB, free: 9.906 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004972/2.099, allocations: 1.905 MB / 1.808 GB, free: 7.988 MB / 1.342 GB Notification: Performance of pre-optimization done (n=212): time 5.249e-06/2.099, allocations: 0 / 1.808 GB, free: 7.988 MB / 1.342 GB Notification: Performance of matching and sorting (n=212): time 0.01506/2.114, allocations: 5.164 MB / 1.813 GB, free: 2.816 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/2.114, allocations: 77.41 kB / 1.813 GB, free: 2.727 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02322/2.137, allocations: 9.219 MB / 1.822 GB, free: 9.527 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.00097/2.138, allocations: 89.7 kB / 1.822 GB, free: 9.434 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.007033/2.145, allocations: 3.824 MB / 1.826 GB, free: 5.613 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/2.147, allocations: 0.7783 MB / 1.827 GB, free: 4.844 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003121/2.15, allocations: 0.7806 MB / 1.827 GB, free: 4.055 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001378/2.15, allocations: 301.1 kB / 1.828 GB, free: 3.758 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/2.154, allocations: 1.743 MB / 1.829 GB, free: 2.012 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006262/2.161, allocations: 3.364 MB / 1.833 GB, free: 14.02 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009608/2.17, allocations: 4.438 MB / 1.837 GB, free: 9.137 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.034e-05/2.17, allocations: 8 kB / 1.837 GB, free: 9.129 MB / 1.373 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01647/2.187, allocations: 5.271 MB / 1.842 GB, free: 3.805 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/2.187, allocations: 25.03 kB / 1.842 GB, free: 3.781 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.956e-05/2.187, allocations: 32 kB / 1.842 GB, free: 3.75 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.202e-05/2.187, allocations: 44 kB / 1.842 GB, free: 3.707 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/2.191, allocations: 0.8348 MB / 1.843 GB, free: 2.871 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001159/2.191, allocations: 63.78 kB / 1.843 GB, free: 2.809 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008684/2.2, allocations: 0.6613 MB / 1.844 GB, free: 2.145 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/2.201, allocations: 156 kB / 1.844 GB, free: 1.992 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.008599/2.209, allocations: 3.042 MB / 1.847 GB, free: 14.94 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004387/2.214, allocations: 0.7685 MB / 1.848 GB, free: 14.16 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/2.227, allocations: 4.256 MB / 1.852 GB, free: 9.91 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/2.227, allocations: 31.98 kB / 1.852 GB, free: 9.879 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/2.227, allocations: 0 / 1.852 GB, free: 9.879 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0076/2.235, allocations: 3.347 MB / 1.855 GB, free: 6.484 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.03239/2.267, allocations: 11.4 MB / 1.866 GB, free: 11 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/2.267, allocations: 3.938 kB / 1.866 GB, free: 10.99 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/2.27, allocations: 0.562 MB / 1.867 GB, free: 10.43 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.739e-05/2.27, allocations: 15.94 kB / 1.867 GB, free: 10.41 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004049/2.271, allocations: 83.88 kB / 1.867 GB, free: 10.33 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.186e-05/2.271, allocations: 12 kB / 1.867 GB, free: 10.32 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.271, allocations: 4 kB / 1.867 GB, free: 10.32 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/2.286, allocations: 6.392 MB / 1.873 GB, free: 3.879 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005529/2.291, allocations: 1.408 MB / 1.874 GB, free: 2.473 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002768/2.294, allocations: 55.98 kB / 1.875 GB, free: 2.418 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006103/2.3, allocations: 279.6 kB / 1.875 GB, free: 2.145 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/2.301, allocations: 141.7 kB / 1.875 GB, free: 2.004 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006157/2.301, allocations: 115.9 kB / 1.875 GB, free: 1.891 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01656/2.318, allocations: 6.553 MB / 1.881 GB, free: 11.36 MB / 1.42 GB Notification: Performance of sort global known variables: time 7e-08/2.318, allocations: 0 / 1.881 GB, free: 11.36 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.01021/2.328, allocations: 2.109 MB / 1.884 GB, free: 9.25 MB / 1.42 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.01936/2.347, allocations: 7.937 MB / 1.891 GB, free: 1.359 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.009827/2.357, allocations: 3.851 MB / 1.895 GB, free: 13.51 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/2.357, allocations: 4 kB / 1.895 GB, free: 13.5 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.004228/2.361, allocations: 1.659 MB / 1.897 GB, free: 11.84 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02567/2.387, allocations: 4.592 MB / 1.901 GB, free: 7.398 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1652/2.552, allocations: 64.67 MB / 1.964 GB, free: 5.68 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007893/2.56, allocations: 5.471 MB / 1.97 GB, free: 188 kB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.008359/2.568, allocations: 2.091 MB / 1.972 GB, free: 14.12 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006998/2.575, allocations: 3.35 MB / 1.975 GB, free: 10.77 MB / 1.514 GB Notification: Performance of SimCode: time 1.172e-06/2.575, allocations: 0 / 1.975 GB, free: 10.77 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3942/2.97, allocations: 228.6 MB / 2.198 GB, free: 7.941 MB / 1.732 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.44/31.41, allocations: 7.797 kB / 2.198 GB, free: 7.934 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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 40.271098729921505]