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.001435/0.001436, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.001475/0.001475, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.503/1.503, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.715/2.715, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9376/0.9396, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001797/0.9414, allocations: 0.6479 MB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.9416, allocations: 15.91 kB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.9416, allocations: 4 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.9417, allocations: 0 / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.9418, allocations: 3.938 kB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.812e-05/0.9419, allocations: 7.984 kB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.942, allocations: 39.92 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.9422, allocations: 27.98 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.521e-05/0.9422, allocations: 23.86 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.34e-05/0.9422, allocations: 15.92 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.9423, allocations: 4 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.9423, allocations: 0 / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.9423, allocations: 19.86 kB / 1.168 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.9424, allocations: 23.88 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.9425, allocations: 44.86 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.9425, allocations: 0 / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9425, allocations: 3.938 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9425, allocations: 0 / 1.168 GB, free: 2.973 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.0004384/0.9429, allocations: 354.9 kB / 1.169 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.943, allocations: 8.031 kB / 1.169 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.9431, allocations: 8.891 kB / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.9433, allocations: 180.3 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.9433, allocations: 4.375 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.9434, allocations: 8.359 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.9436, allocations: 82.16 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9436, allocations: 192 / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.9436, allocations: 7.938 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9436, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.9437, allocations: 47.97 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.9443, allocations: 495.1 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.9444, allocations: 165.1 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.9445, allocations: 80.14 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.9445, allocations: 79.28 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.9446, allocations: 113.8 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.9446, allocations: 0 / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.551e-05/0.9447, allocations: 37.66 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.9448, allocations: 126.7 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.945, allocations: 180.1 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.945, allocations: 25.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.9451, allocations: 100.1 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.9451, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.9452, allocations: 13.72 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9453, allocations: 318.8 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.9454, allocations: 7.984 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.9454, allocations: 4 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.9454, allocations: 24.78 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9454, allocations: 4.062 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001302/0.9456, allocations: 49.64 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9456, allocations: 8 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9456, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9456, allocations: 3.938 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.9457, allocations: 4 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.9457, allocations: 3.938 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.9457, allocations: 7.984 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.9458, 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.0001366/0.9459, allocations: 193.2 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.946, allocations: 123.3 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.9461, allocations: 108.9 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-05/0.9462, allocations: 176.3 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.274e-05/0.9463, allocations: 192.1 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/0.9464, allocations: 180.2 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.9467, allocations: 425.1 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-05/0.9468, allocations: 101.1 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.9468, allocations: 112.9 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.106e-05/0.9469, allocations: 176.3 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.26e-05/0.947, allocations: 180.2 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.528e-05/0.9471, allocations: 184.2 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.138e-05/0.9472, allocations: 184.2 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.9474, allocations: 307.7 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.9476, allocations: 190 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.9477, allocations: 184.2 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.9478, allocations: 113 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.9479, allocations: 184.1 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.939e-05/0.948, allocations: 105 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001202/0.9481, allocations: 127.2 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9481, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002506/0.9484, allocations: 8 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.0002016/0.9486, allocations: 178.5 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.9487, allocations: 8.344 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9487, allocations: 0 / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.9487, allocations: 3.938 kB / 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.0005374/0.9493, allocations: 466.3 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.9496, allocations: 220.2 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.95, allocations: 0.6963 MB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.95, allocations: 4 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.9501, allocations: 7.438 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.9501, allocations: 0 / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of Templates: time 0.002938/0.953, allocations: 486.4 kB / 1.176 GB, free: 10.44 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 -s cvode -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