Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.002084/0.002084, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002608/0.002608, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.939/2.939, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/3.027e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002405/0.002435, allocations: 1.075 MB / 0.9825 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.004031, allocations: 1.077 MB / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.004153, allocations: 4 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.72e-05/0.00422, allocations: 15.75 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.004415, allocations: 55.5 kB / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.004817, allocations: 95.77 kB / 0.9837 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.005146, allocations: 247.2 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.005348, allocations: 75.84 kB / 0.984 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.005679, allocations: 155.6 kB / 0.9841 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.005829, allocations: 75.75 kB / 0.9842 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.00588, allocations: 24 kB / 0.9842 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.005956, allocations: 32 kB / 0.9843 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.006019, allocations: 47.83 kB / 0.9843 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.006117, allocations: 83.69 kB / 0.9844 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.006557, allocations: 299 kB / 0.9847 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.006561, allocations: 0 / 0.9847 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.273e-06/0.006562, allocations: 0 / 0.9847 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.006568, allocations: 0 / 0.9847 GB, free: 8.652 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001037/0.007605, allocations: 473.2 kB / 0.9851 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.007646, allocations: 16.03 kB / 0.9851 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.007909, allocations: 40.77 kB / 0.9852 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.008304, allocations: 189.9 kB / 0.9854 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.008441, allocations: 119.4 kB / 0.9855 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.008494, allocations: 24.36 kB / 0.9855 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.008953, allocations: 190 kB / 0.9857 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.008972, allocations: 4.172 kB / 0.9857 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.008997, allocations: 8.375 kB / 0.9857 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.009017, allocations: 7.938 kB / 0.9857 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.009473, allocations: 155.9 kB / 0.9858 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.01037, allocations: 447.8 kB / 0.9863 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.0108, allocations: 146.7 kB / 0.9864 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.01102, allocations: 76.81 kB / 0.9865 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.01105, allocations: 0 / 0.9865 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.0114, allocations: 155.2 kB / 0.9866 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.0114, allocations: 0 / 0.9866 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0008016/0.0122, allocations: 268 kB / 0.9869 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.01226, allocations: 55.41 kB / 0.9869 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.01247, allocations: 182.8 kB / 0.9871 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.0125, allocations: 29.7 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.01263, allocations: 140.5 kB / 0.9873 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.01271, allocations: 63.42 kB / 0.9873 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.01279, allocations: 45.64 kB / 0.9874 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.01298, allocations: 334.8 kB / 0.9877 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.0132, allocations: 71.95 kB / 0.9878 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.01344, allocations: 101.1 kB / 0.9879 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.01387, allocations: 174.4 kB / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.01388, allocations: 7.938 kB / 0.988 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005714/0.01445, allocations: 233.4 kB / 0.9883 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.01448, allocations: 7.984 kB / 0.9883 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01449, allocations: 0 / 0.9883 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.01451, allocations: 4 kB / 0.9883 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.01474, allocations: 43.91 kB / 0.9883 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01474, allocations: 0 / 0.9883 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.0149, allocations: 27.94 kB / 0.9883 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.01492, allocations: 11.94 kB / 0.9883 GB, free: 4.664 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001536/0.01507, allocations: 137.7 kB / 0.9885 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.01511, allocations: 23.84 kB / 0.9885 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.01516, allocations: 17.81 kB / 0.9885 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01517, allocations: 4 kB / 0.9885 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01517, allocations: 0 / 0.9885 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01518, allocations: 0 / 0.9885 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.01549, allocations: 193.2 kB / 0.9887 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.0155, allocations: 11.94 kB / 0.9887 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.01574, allocations: 35.97 kB / 0.9888 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01574, allocations: 0 / 0.9888 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.01576, allocations: 4 kB / 0.9888 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01576, allocations: 3.938 kB / 0.9888 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01576, allocations: 4 kB / 0.9888 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.0166, allocations: 336.7 kB / 0.9891 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.01663, allocations: 11.94 kB / 0.9891 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.01667, allocations: 15.92 kB / 0.9891 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.01681, allocations: 11.98 kB / 0.9891 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.0169, allocations: 15.97 kB / 0.9891 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.01692, allocations: 15.97 kB / 0.9892 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001155/0.01704, allocations: 128.3 kB / 0.9893 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01704, allocations: 0 / 0.9893 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000262/0.0173, allocations: 51.89 kB / 0.9893 GB, free: 3.605 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001581/0.01746, allocations: 107.2 kB / 0.9894 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005768/0.01803, allocations: 178.2 kB / 0.9896 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01804, allocations: 0 / 0.9896 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.01829, allocations: 83.89 kB / 0.9897 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.01866, allocations: 51 kB / 0.9897 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009665/0.01962, allocations: 404.8 kB / 0.9901 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.01978, allocations: 129.5 kB / 0.9902 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.348e-05/0.01987, allocations: 17.48 kB / 0.9903 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.01995, allocations: 20.5 kB / 0.9903 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of SimCode: time 1.543e-06/0.01995, allocations: 0 / 0.9903 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of Templates: time 0.006794/0.02675, allocations: 2.369 MB / 0.9926 GB, free: 268 kB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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: 8.371217261999846]