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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009616/0.0009614, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009705/0.009705, allocations: 170 kB / 16.26 MB, free: 6.613 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.99/2.99, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004547, allocations: 17.28 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3639, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001274/0.3653, allocations: 388.6 kB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000222/0.3655, allocations: 15.92 kB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.3656, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3657, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.736e-05/0.3658, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.3659, allocations: 8 kB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3661, allocations: 43.89 kB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.3663, allocations: 20 kB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.3663, allocations: 15.92 kB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.3664, allocations: 7.938 kB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3664, allocations: 0 / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3664, allocations: 0 / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.3665, allocations: 11.94 kB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.3665, allocations: 37.58 kB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3666, allocations: 47.84 kB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3666, allocations: 0 / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3667, allocations: 0 / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3667, allocations: 4 kB / 1.059 GB, free: 4.852 MB / 0.8106 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.0004785/0.3672, allocations: 347.6 kB / 1.06 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.3672, allocations: 8.031 kB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.3673, allocations: 8.875 kB / 1.06 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3675, allocations: 184.2 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3675, allocations: 384 / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3675, allocations: 4.375 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3677, allocations: 78.22 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3677, allocations: 192 / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3678, allocations: 11.94 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3678, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.3679, allocations: 47.97 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.3684, allocations: 487 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.3685, allocations: 177.1 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.3686, allocations: 84.14 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3686, allocations: 75.28 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.3687, allocations: 105.8 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3687, allocations: 0 / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.271e-05/0.3688, allocations: 37.64 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.3689, allocations: 130.6 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3691, allocations: 183.8 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3691, allocations: 25.7 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.18e-05/0.3692, allocations: 92.14 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.3692, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.3692, allocations: 9.719 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3693, allocations: 318.8 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.3694, allocations: 4 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.3694, allocations: 11.98 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.3694, allocations: 16.92 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3694, allocations: 0 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001285/0.3696, allocations: 53.58 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3696, allocations: 8 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3696, allocations: 3.938 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3696, allocations: 0 / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.3697, allocations: 4 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3697, allocations: 3.938 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.3697, allocations: 11.84 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3697, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 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.0001055/0.3699, allocations: 201.1 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.3699, allocations: 101 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.37, allocations: 120.8 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.317e-05/0.3701, allocations: 184.2 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-05/0.3701, allocations: 184.2 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/0.3702, allocations: 184.2 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3704, allocations: 421.2 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/0.3705, allocations: 108.9 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.3705, allocations: 105 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.869e-05/0.3706, allocations: 176.4 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.3707, allocations: 184.1 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.967e-05/0.3708, allocations: 184.5 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-05/0.3708, allocations: 192.1 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.371, allocations: 303.8 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.3711, allocations: 201.9 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.3712, allocations: 184.3 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.3713, allocations: 104.9 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.3714, allocations: 180.2 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.3714, allocations: 101 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001102/0.3715, allocations: 141.8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3715, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002413/0.3718, allocations: 4 kB / 1.065 GB, free: 14.43 MB / 0.8262 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.0001894/0.372, allocations: 178.5 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.506e-05/0.372, allocations: 12 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.372, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.372, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.3725, allocations: 0.5264 MB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.3729, allocations: 217.9 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3732, allocations: 0.7023 MB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.3732, allocations: 8 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.3732, allocations: 7.438 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3732, allocations: 4 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.0028/0.376, allocations: 440.4 kB / 1.067 GB, free: 12.29 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches