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.0009228/0.0009227, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 179.2 kB / 16.92 MB, free: 6.652 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.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.684/2.684, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.000401, allocations: 12 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.705/0.7054, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.0008713/0.7063, allocations: 386.5 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.7065, allocations: 11.98 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.7066, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.83e-05/0.7067, allocations: 3.938 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.7067, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.556e-05/0.7068, allocations: 3.984 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.7069, allocations: 39.92 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.7071, allocations: 23.98 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.7071, allocations: 11.94 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.926e-05/0.7071, allocations: 7.922 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.7071, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.7072, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.7072, allocations: 7.938 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.7072, allocations: 41.56 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.847e-05/0.7073, allocations: 35.94 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7073, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7073, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.7074, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 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.0003216/0.7077, allocations: 345.4 kB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7077, allocations: 8.031 kB / 1.025 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.7078, allocations: 4.938 kB / 1.025 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.7079, allocations: 184.2 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.708, allocations: 4.375 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.708, allocations: 4.375 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.7082, allocations: 78.17 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7082, allocations: 4.188 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.7082, allocations: 7.938 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7082, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.7083, allocations: 43.97 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.7088, allocations: 491 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.7089, allocations: 165.1 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.7089, allocations: 88.08 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.7089, allocations: 75.28 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.709, allocations: 113.8 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.709, allocations: 0 / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.003e-05/0.7091, allocations: 37.59 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.7091, allocations: 126.7 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.7093, allocations: 179.3 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.7093, allocations: 25.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.7094, allocations: 96.23 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.7094, allocations: 3.938 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.7094, allocations: 9.719 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7096, allocations: 318.8 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.7096, allocations: 7.984 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.7096, allocations: 4 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.7096, allocations: 24.84 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7097, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001201/0.7098, allocations: 53.59 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7098, allocations: 4 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7098, allocations: 0 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.7098, allocations: 0 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.7099, allocations: 7.984 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.7099, allocations: 3.938 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.7099, allocations: 11.91 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.71, allocations: 4.031 kB / 1.027 GB, free: 12.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/0.7101, allocations: 197.6 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.7101, allocations: 108.9 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.7102, allocations: 108.9 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-05/0.7103, allocations: 180.3 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-05/0.7103, allocations: 188.1 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/0.7104, allocations: 184.3 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.7106, allocations: 429.1 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/0.7107, allocations: 101 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.7107, allocations: 104.9 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.745e-05/0.7108, allocations: 180.2 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.7108, allocations: 184.3 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.693e-05/0.7109, allocations: 180.2 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-05/0.711, allocations: 180.2 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.7111, allocations: 311.7 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.7112, allocations: 202 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.7113, allocations: 180.2 kB / 1.03 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.7113, allocations: 105 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.7114, allocations: 188.1 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.7115, allocations: 105.2 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001014/0.7116, allocations: 133 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.503e-06/0.7116, allocations: 0 / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002205/0.7118, allocations: 11.94 kB / 1.03 GB, free: 8.844 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 (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.0001429/0.7119, allocations: 174.5 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.712, allocations: 7.984 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.712, allocations: 4 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.712, allocations: 7.938 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.7125, allocations: 0.5186 MB / 1.031 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.7128, allocations: 251.8 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.7131, allocations: 0.6887 MB / 1.032 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.7131, allocations: 7.438 kB / 1.032 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7131, allocations: 4 kB / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of Templates: time 0.002056/0.7152, allocations: 0.7586 MB / 1.032 GB, free: 6.355 MB / 0.7794 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