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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001182/0.001183, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001083/0.001083, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 68.61 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3412, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002093/0.3433, allocations: 0.6495 MB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.3435, allocations: 19.92 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.3436, allocations: 0 / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.3437, allocations: 11.92 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.584e-05/0.3438, allocations: 0 / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.3439, allocations: 4 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.344, allocations: 35.97 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3442, allocations: 35.92 kB / 1.02 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.3442, allocations: 15.94 kB / 1.02 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.3443, allocations: 15.92 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3443, allocations: 4 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.3443, allocations: 4 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.3443, allocations: 11.94 kB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.3444, allocations: 19.86 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3445, allocations: 43.81 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3445, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3445, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3445, allocations: 4 kB / 1.02 GB, free: 9.004 MB / 0.795 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.0003469/0.3449, allocations: 363.2 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3449, allocations: 12.03 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.345, allocations: 4.844 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3451, allocations: 172.4 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3451, allocations: 16.3 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3452, allocations: 4.375 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3453, allocations: 74.17 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3453, allocations: 192 / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3454, allocations: 7.938 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3454, allocations: 3.984 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.3455, allocations: 51.97 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.346, allocations: 487 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.3461, allocations: 165.1 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.3461, allocations: 80.14 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.3461, allocations: 87.27 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3462, allocations: 113.8 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3462, allocations: 0 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.546e-05/0.3463, allocations: 33.61 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.3463, allocations: 126.7 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3465, allocations: 169.7 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3465, allocations: 25.7 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.3466, allocations: 104 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.3466, allocations: 0 / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3466, allocations: 13.72 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3467, allocations: 322.8 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.3468, allocations: 4 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.3468, allocations: 11.98 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.3468, allocations: 12.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3468, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001344/0.347, allocations: 61.64 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.347, allocations: 4 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.347, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.347, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.3471, allocations: 4 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3471, allocations: 4.047 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.3471, allocations: 11.88 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3472, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 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 9.985e-05/0.3473, allocations: 203.5 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.3473, allocations: 112.8 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.3474, allocations: 116.8 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.859e-05/0.3474, allocations: 180.2 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.184e-05/0.3475, allocations: 180.2 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/0.3476, allocations: 181.7 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3478, allocations: 425.1 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/0.3479, allocations: 113 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.3479, allocations: 104.9 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.442e-05/0.348, allocations: 176.3 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.348, allocations: 176.3 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.758e-05/0.3481, allocations: 192.2 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-05/0.3481, allocations: 184.2 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.3483, allocations: 303.8 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.3484, allocations: 190 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.3484, allocations: 188.2 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.3485, allocations: 105.3 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3486, allocations: 184.1 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.3486, allocations: 109 kB / 1.025 GB, free: 2.703 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001011/0.3487, allocations: 133.7 kB / 1.025 GB, free: 2.574 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3488, allocations: 0 / 1.025 GB, free: 2.574 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002193/0.349, allocations: 4 kB / 1.025 GB, free: 2.57 MB / 0.795 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.0001694/0.3492, allocations: 178.5 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.3492, allocations: 15.92 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3493, allocations: 0 / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.3493, allocations: 0 / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3497, allocations: 459.7 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.3501, allocations: 220.8 kB / 1.026 GB, free: 1.672 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3504, allocations: 0.6885 MB / 1.027 GB, free: 0.957 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.3504, allocations: 11.97 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.3505, allocations: 15.44 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3505, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of Templates: time 0.002519/0.353, allocations: 470.2 kB / 1.027 GB, free: 484 kB / 0.795 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 -s gbode -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