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.005029/0.005029, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001147/0.001147, allocations: 189.8 kB / 16.79 MB, free: 5.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 70.58 kB / 0.8991 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002091/0.3361, allocations: 0.7106 MB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.3362, allocations: 15.92 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.3363, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3364, allocations: 7.984 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.285e-05/0.3365, allocations: 3.938 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.894e-05/0.3366, allocations: 8 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3367, allocations: 35.97 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3368, allocations: 24 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.3368, allocations: 15.92 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.108e-05/0.3369, allocations: 11.94 kB / 1.054 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3369, allocations: 0 / 1.054 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.3369, allocations: 7.938 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.337, allocations: 15.97 kB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.337, allocations: 15.88 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.755e-05/0.3371, allocations: 27.95 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3371, allocations: 11.98 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3371, allocations: 0 / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3371, allocations: 0 / 1.054 GB, free: 7.391 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.0003707/0.3375, allocations: 351.6 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3375, allocations: 15.97 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.3376, allocations: 8.781 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.3377, allocations: 176.4 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3378, allocations: 4.375 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.3378, allocations: 4.375 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3379, allocations: 82.22 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.338, allocations: 192 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.338, allocations: 3.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.338, allocations: 7.984 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.3381, allocations: 51.91 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.3386, allocations: 483.1 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/0.3387, allocations: 177.1 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.3387, allocations: 88.17 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3387, allocations: 75.28 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.3388, allocations: 105.8 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3388, allocations: 0 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.245e-05/0.3389, allocations: 33.61 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.339, allocations: 134.6 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3391, allocations: 175.5 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3392, allocations: 37.58 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.3392, allocations: 92.05 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.3393, allocations: 4 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3393, allocations: 9.719 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3394, allocations: 322.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.3395, allocations: 8 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.3395, allocations: 11.98 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.3395, allocations: 12.84 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3395, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001466/0.3397, allocations: 57.53 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3397, allocations: 4 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3397, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3398, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.3398, allocations: 4 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3398, allocations: 4.031 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.3399, allocations: 15.94 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3399, allocations: 11.98 kB / 1.056 GB, free: 4.641 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.0001183/0.34, allocations: 185.1 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.3401, allocations: 112.9 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.3402, allocations: 116.8 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/0.3402, allocations: 176.3 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.366e-05/0.3403, allocations: 184.2 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-05/0.3404, allocations: 184.2 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.3406, allocations: 421.2 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.3407, allocations: 104.9 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.3407, allocations: 101 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.256e-05/0.3408, allocations: 180.3 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.3409, allocations: 188.2 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/0.3409, allocations: 180.2 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.836e-05/0.341, allocations: 184.1 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.3412, allocations: 316 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.3412, allocations: 186 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.3413, allocations: 184.3 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.3414, allocations: 104.9 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.3415, allocations: 180.2 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.3415, allocations: 116.9 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.238e-05/0.3416, allocations: 132.9 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3416, allocations: 0 / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002225/0.3419, allocations: 4 kB / 1.059 GB, free: 0.9531 MB / 0.8106 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.0001682/0.342, allocations: 178.5 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.927e-05/0.3421, allocations: 8 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3421, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.3422, allocations: 3.938 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.3426, allocations: 0.5317 MB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.3429, allocations: 255.4 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.3432, allocations: 0.6965 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.3432, allocations: 7.438 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3432, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of Templates: time 0.002216/0.3454, allocations: 0.7536 MB / 1.062 GB, free: 14.45 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/jenkins1/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