Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009924/0.0009925, allocations: 177.3 kB / 15.95 MB, free: 216 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.479/1.479, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 16 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8723, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.0009457/0.8733, allocations: 378.4 kB / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001409/0.8735, allocations: 7.938 kB / 1.021 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.8735, allocations: 4 kB / 1.021 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.779e-05/0.8736, allocations: 11.91 kB / 1.021 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.8737, allocations: 0 / 1.021 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.947e-05/0.8738, allocations: 4 kB / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.8739, allocations: 27.98 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.874, allocations: 19.98 kB / 1.021 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.874, allocations: 11.92 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.8741, allocations: 11.92 kB / 1.021 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.8741, allocations: 7.938 kB / 1.021 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.8741, allocations: 0 / 1.021 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.8742, allocations: 8 kB / 1.021 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.8742, allocations: 29.64 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.99e-05/0.8743, allocations: 31.94 kB / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.8743, allocations: 0 / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8743, allocations: 0 / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8743, allocations: 0 / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003639/0.8747, allocations: 343.1 kB / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8747, allocations: 19.97 kB / 1.022 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.8748, allocations: 4 kB / 1.022 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.875, allocations: 178.9 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.875, allocations: 4 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.875, allocations: 4 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.8752, allocations: 85.48 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.8752, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.8752, allocations: 4 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.8752, allocations: 4 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.8753, allocations: 43.97 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.876, allocations: 495 kB / 1.022 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.4e-05/0.8761, allocations: 165.1 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.8761, allocations: 79.28 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.8762, allocations: 109.8 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8762, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.417e-05/0.8763, allocations: 41.62 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.8763, allocations: 126.7 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.8765, allocations: 175.2 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.8766, allocations: 25.7 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.8767, allocations: 92.14 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-06/0.8767, allocations: 112 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.8767, allocations: 3.938 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8768, allocations: 322.8 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.8769, allocations: 11.98 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.8769, allocations: 4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.8769, allocations: 11.98 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8769, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001334/0.8771, allocations: 57.53 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8771, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8771, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.8771, allocations: 4.094 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.8772, allocations: 8 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.8772, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.8772, allocations: 7.938 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.8773, allocations: 7.938 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001351/0.8774, allocations: 189.1 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.8775, allocations: 116.9 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.874e-05/0.8776, allocations: 116.8 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001415/0.8777, allocations: 176.3 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/0.8779, allocations: 180.2 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.441e-05/0.8779, allocations: 180.2 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.8784, allocations: 429.2 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-05/0.8784, allocations: 104.9 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.8785, allocations: 105 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.698e-05/0.8786, allocations: 184.2 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.8788, allocations: 180.3 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.227e-05/0.8789, allocations: 180.2 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.435e-05/0.8789, allocations: 180.2 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.8791, allocations: 315.6 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.8792, allocations: 190.1 kB / 1.026 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.8793, allocations: 176.3 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.8795, allocations: 104.9 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.8796, allocations: 184.3 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.8796, allocations: 112.9 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001213/0.8797, allocations: 125 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8797, allocations: 0 / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000268/0.88, allocations: 8 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002173/0.8802, allocations: 182.5 kB / 1.027 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.8803, allocations: 4.344 kB / 1.027 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/0.8804, allocations: 4.062 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.8804, allocations: 0 / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.8809, allocations: 0.534 MB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.8813, allocations: 216.3 kB / 1.028 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.8816, allocations: 0.6965 MB / 1.029 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.8816, allocations: 15.88 kB / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.8816, allocations: 7.438 kB / 1.029 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.8817, allocations: 4 kB / 1.029 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of Templates: time 0.002728/0.8844, allocations: 435.8 kB / 1.029 GB, free: 8.102 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches