Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001092/0.001092, allocations: 105.9 kB / 16.41 MB, free: 6.457 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.0011/0.0011, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.8995, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002097/0.9016, allocations: 0.6423 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.9018, allocations: 15.92 kB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.9019, allocations: 0 / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.902, allocations: 3.938 kB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.9021, allocations: 11.88 kB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.9022, allocations: 8 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.9023, allocations: 39.91 kB / 1.168 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.9025, allocations: 35.97 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.9025, allocations: 7.938 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.9026, allocations: 15.92 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.9026, allocations: 4 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.9026, allocations: 4 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.9027, allocations: 11.94 kB / 1.168 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.9027, allocations: 23.88 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.9028, allocations: 47.8 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9029, allocations: 4 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9029, allocations: 0 / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.9029, allocations: 0 / 1.168 GB, free: 2.965 MB / 0.8887 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.000406/0.9033, allocations: 351.3 kB / 1.169 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9033, allocations: 8.031 kB / 1.169 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.9034, allocations: 8.844 kB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.9036, allocations: 180.2 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.9036, allocations: 4.375 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.9036, allocations: 4.375 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.9038, allocations: 86.16 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9038, allocations: 192 / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.9038, allocations: 3.938 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.9039, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.279e-05/0.9039, allocations: 51.97 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.9045, allocations: 488.8 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.9046, allocations: 177.1 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.9047, allocations: 80.14 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.9047, allocations: 75.28 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.9048, allocations: 109.8 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 3.657e-06/0.9048, allocations: 3.984 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.169e-05/0.9049, allocations: 25.7 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.9049, allocations: 138.7 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.9051, allocations: 176.1 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.9051, allocations: 25.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.9052, allocations: 96.12 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/0.9052, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.9053, allocations: 17.66 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9054, allocations: 322.8 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.9054, allocations: 4 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.9054, allocations: 11.98 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.9055, allocations: 12.86 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9055, allocations: 3.938 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001275/0.9056, allocations: 57.58 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9057, allocations: 4 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.9057, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9057, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.9058, allocations: 4 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9058, allocations: 7.875 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.9058, allocations: 8.094 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.9058, allocations: 0 / 1.171 GB, free: 252 kB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.9059, allocations: 197.1 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.906, allocations: 115.4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.9061, allocations: 108.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.762e-05/0.9062, allocations: 184.2 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-05/0.9063, allocations: 188.2 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.099e-05/0.9063, allocations: 180.3 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.9066, allocations: 417.1 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.826e-05/0.9067, allocations: 113 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.9067, allocations: 104.9 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.322e-05/0.9068, allocations: 180.3 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.9069, allocations: 180.2 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.4e-05/0.9069, allocations: 184.3 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.226e-05/0.907, allocations: 188.1 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.9072, allocations: 307.7 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.9073, allocations: 186 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.9074, allocations: 184.2 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.9075, allocations: 109 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.9076, allocations: 184.1 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.9076, allocations: 101 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001086/0.9077, allocations: 141.8 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9077, allocations: 4 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002274/0.908, allocations: 4 kB / 1.174 GB, free: 12.54 MB / 0.9044 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 (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.0001946/0.9082, allocations: 174.5 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.49e-05/0.9083, allocations: 12.27 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9083, allocations: 0 / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.9083, allocations: 0 / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.9087, allocations: 467.7 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.9091, allocations: 241.9 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.9094, allocations: 0.6911 MB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.9095, allocations: 11.42 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.9095, allocations: 0 / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.002398/0.9119, allocations: 0.7665 MB / 1.176 GB, free: 10.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches