Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 110.3 kB / 16.41 MB, free: 6.512 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.002036/0.002036, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.57/1.57, allocations: 222.9 MB / 241 MB, free: 15.14 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.839/2.839, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002839, allocations: 67.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9813/0.9842, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001993/0.9862, allocations: 0.7123 MB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.9873, allocations: 0.8079 MB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.9873, allocations: 0 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.9874, allocations: 3.938 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.9875, allocations: 11.92 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.9876, allocations: 7.984 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.9877, allocations: 51.84 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.9878, allocations: 12 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.9879, allocations: 19.92 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.9879, allocations: 23.86 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.988, allocations: 4 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.988, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.988, allocations: 15.92 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.9881, allocations: 19.92 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.9882, allocations: 35.88 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.9882, allocations: 3.984 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.447e-06/0.9882, allocations: 0 / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9882, allocations: 3.938 kB / 1.169 GB, free: 2.102 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005978/0.9888, allocations: 367.8 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.9889, allocations: 8.922 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.9889, allocations: 8.891 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.9891, allocations: 164.3 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.9891, allocations: 8.375 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.9891, allocations: 384 / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.9894, allocations: 74.2 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.9894, allocations: 192 / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9894, allocations: 3.938 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.9894, allocations: 4 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.9897, allocations: 63.92 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.9902, allocations: 268.9 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.9904, allocations: 60.86 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.9905, allocations: 36.91 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.9906, allocations: 0 / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.9906, allocations: 42.56 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.9906, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005599/0.9912, allocations: 133.7 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.9912, allocations: 51.41 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.9913, allocations: 113.8 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.9914, allocations: 25.7 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.9914, allocations: 88.14 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.9914, allocations: 11.84 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.9915, allocations: 17.72 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9916, allocations: 314.8 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.9918, allocations: 31.97 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.992, allocations: 36.02 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.9922, allocations: 64.73 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.9923, allocations: 3.938 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003188/0.9926, allocations: 105.5 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9926, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9926, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.9926, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.9928, allocations: 23.92 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.9928, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.9929, allocations: 15.92 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.9929, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 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 (3): * Single equations (assignments): 3 * 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.99e-05/0.993, allocations: 125.8 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.993, allocations: 3.953 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.9934, allocations: 109.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9934, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9934, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9934, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.9936, allocations: 173.6 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9937, allocations: 0 / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-05/0.9938, allocations: 19.97 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9938, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.9938, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9938, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9938, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.9942, allocations: 203.4 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.9942, allocations: 77.11 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.9942, allocations: 3.984 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.9944, allocations: 11.98 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.9944, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.9944, allocations: 4 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.9945, allocations: 95.2 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9945, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002149/0.9947, allocations: 8 kB / 1.172 GB, free: 14.85 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 (3): * Single equations (assignments): 3 * 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.0001706/0.9949, allocations: 95.25 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.9952, allocations: 71.92 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9953, allocations: 4 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.9954, allocations: 36.28 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.9957, allocations: 10.19 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.9961, allocations: 125.4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.9964, allocations: 0.6846 MB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.9965, allocations: 4.094 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.9965, allocations: 11.44 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9965, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.003112/0.9996, allocations: 0.6727 MB / 1.174 GB, free: 13.09 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches