Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002022/0.002022, allocations: 197.4 kB / 16.26 MB, free: 6.629 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.8562, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002455/0.8587, allocations: 0.8336 MB / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.8599, allocations: 0.8547 MB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.86, allocations: 1.375 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.8601, allocations: 7.922 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.953e-05/0.8602, allocations: 9.297 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.8604, allocations: 34.84 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.8605, allocations: 90.88 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.8607, allocations: 21.97 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.8608, allocations: 41.09 kB / 0.951 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.8609, allocations: 49.19 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.8609, allocations: 8.406 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.249e-05/0.8609, allocations: 8.281 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.861, allocations: 18.2 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.861, allocations: 46.45 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.8611, allocations: 83.14 kB / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8612, allocations: 0 / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8612, allocations: 0 / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.8612, allocations: 1.375 kB / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005937/0.8618, allocations: 392.7 kB / 0.9515 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8618, allocations: 12.94 kB / 0.9515 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.8619, allocations: 12.62 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.862, allocations: 185.2 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.862, allocations: 2.938 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.8621, allocations: 8.094 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.8624, allocations: 104.8 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8624, allocations: 0 / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.8624, allocations: 5.078 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8624, allocations: 1.188 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.8628, allocations: 107.5 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.8633, allocations: 343.3 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.864, allocations: 126.7 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.8641, allocations: 50.75 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.8642, allocations: 5.641 kB / 0.9525 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.8642, allocations: 36.06 kB / 0.9525 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.8642, allocations: 4 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006266/0.8648, allocations: 171.6 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.8649, allocations: 52.44 kB / 0.9527 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.865, allocations: 129.2 kB / 0.9528 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.865, allocations: 30.52 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.865, allocations: 95.16 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.8651, allocations: 26.97 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.8651, allocations: 23.11 kB / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.8652, allocations: 321.6 kB / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.8654, allocations: 43.61 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.8655, allocations: 48.64 kB / 0.9534 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.8659, allocations: 97.52 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8659, allocations: 1.125 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004065/0.8663, allocations: 144.1 kB / 0.9536 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.8663, allocations: 7 kB / 0.9536 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8663, allocations: 0 / 0.9536 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.8664, allocations: 5.344 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.8665, allocations: 23.53 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8666, allocations: 5.406 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.8667, allocations: 18.42 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.8667, allocations: 6.625 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.104e-05/0.8668, allocations: 125 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.8668, allocations: 8.219 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.8673, allocations: 150.1 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.8673, allocations: 1.312 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8673, allocations: 1.375 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.8673, allocations: 7.938 kB / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.8675, allocations: 196.2 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.8675, allocations: 0 / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.8676, allocations: 24.31 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8676, allocations: 0 / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8677, allocations: 5.125 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8677, allocations: 1.562 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8677, allocations: 0 / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.8681, allocations: 242.7 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.8681, allocations: 83.34 kB / 0.9545 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.8682, allocations: 1.625 kB / 0.9545 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.8683, allocations: 14.61 kB / 0.9545 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.8684, allocations: 22.97 kB / 0.9545 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.8684, allocations: 10.12 kB / 0.9545 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.8685, allocations: 96.86 kB / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8685, allocations: 0 / 0.9546 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002406/0.8687, allocations: 20.09 kB / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001215/0.8688, allocations: 96.38 kB / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.8693, allocations: 114 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8693, allocations: 1.25 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.8695, allocations: 62.14 kB / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.8698, allocations: 12.7 kB / 0.9549 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.8703, allocations: 188.5 kB / 0.9551 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.8704, allocations: 0.6929 MB / 0.9558 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.747e-05/0.8705, allocations: 15.92 kB / 0.9558 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.8706, allocations: 13.31 kB / 0.9558 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8706, allocations: 1.406 kB / 0.9558 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.004162/0.8748, allocations: 1.417 MB / 0.9572 GB, free: 2.617 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches