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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000884/0.0008838, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001433/0.001434, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.593/2.593, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005657/0.0005658, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9385/0.939, allocations: 142.4 MB / 0.9545 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00103/0.9401, allocations: 482.5 kB / 0.9549 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009884/0.9411, allocations: 0.8599 MB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.9412, allocations: 0.9062 kB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.9412, allocations: 7.922 kB / 0.9558 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.9413, allocations: 5.031 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.9415, allocations: 39.2 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.9416, allocations: 71.2 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.9418, allocations: 17.55 kB / 0.9559 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.9419, allocations: 31.84 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.942, allocations: 40.7 kB / 0.956 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.942, allocations: 4.312 kB / 0.956 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.942, allocations: 6.719 kB / 0.956 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.942, allocations: 18.56 kB / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.9421, allocations: 32.61 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.359e-05/0.9422, allocations: 57.14 kB / 0.9561 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9422, allocations: 0 / 0.9561 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.9422, allocations: 0 / 0.9561 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.9422, allocations: 0 / 0.9561 GB, free: 6.434 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.0005373/0.9427, allocations: 393.7 kB / 0.9564 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.9428, allocations: 10.09 kB / 0.9565 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.9428, allocations: 7.406 kB / 0.9565 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.943, allocations: 183.6 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.943, allocations: 6.406 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.943, allocations: 4 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.9433, allocations: 113.5 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9433, allocations: 1.375 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.9433, allocations: 4 kB / 0.9568 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.9434, allocations: 4.922 kB / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.9437, allocations: 127.3 kB / 0.9569 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.9442, allocations: 342.7 kB / 0.9572 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.9448, allocations: 132 kB / 0.9573 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.945, allocations: 68.84 kB / 0.9574 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.945, allocations: 1.344 kB / 0.9574 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.9451, allocations: 38.55 kB / 0.9574 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.9451, allocations: 0 / 0.9574 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006541/0.9457, allocations: 209.6 kB / 0.9576 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.9458, allocations: 52.47 kB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.9459, allocations: 129 kB / 0.9578 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.9459, allocations: 35.08 kB / 0.9579 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.9459, allocations: 90.83 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.946, allocations: 26.11 kB / 0.958 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.946, allocations: 0 / 0.958 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.946, allocations: 317.5 kB / 0.9583 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.9462, allocations: 60.55 kB / 0.9583 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.9464, allocations: 54.33 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.9466, allocations: 62.22 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9466, allocations: 0 / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004074/0.947, allocations: 171.5 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.947, allocations: 4.906 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.9471, allocations: 1.25 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.9471, allocations: 0 / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.9473, allocations: 29.31 kB / 0.9586 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9473, allocations: 4 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.9474, allocations: 17.7 kB / 0.9587 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.9474, allocations: 9.297 kB / 0.9587 GB, free: 4.227 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.401e-05/0.9475, allocations: 117.6 kB / 0.9588 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.9475, allocations: 10.64 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.948, allocations: 175 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.948, allocations: 0 / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.948, allocations: 1.375 kB / 0.959 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.948, allocations: 3.984 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.9482, allocations: 195.5 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9482, allocations: 1.375 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.9484, allocations: 28.59 kB / 0.9592 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.9484, allocations: 7.891 kB / 0.9592 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.9484, allocations: 9.359 kB / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.9484, allocations: 1.375 kB / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9484, allocations: 0 / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.9488, allocations: 255.1 kB / 0.9594 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.9489, allocations: 82.39 kB / 0.9595 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.9489, allocations: 5.328 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.949, allocations: 22.98 kB / 0.9595 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.9491, allocations: 22.84 kB / 0.9596 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.9491, allocations: 2.75 kB / 0.9596 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.9492, allocations: 92.89 kB / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9492, allocations: 0 / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002325/0.9494, allocations: 20.31 kB / 0.9597 GB, free: 3.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000126/0.9495, allocations: 107.5 kB / 0.9598 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.9499, allocations: 124.9 kB / 0.9599 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.95, allocations: 4 kB / 0.9599 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.9501, allocations: 69.31 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.9505, allocations: 17.27 kB / 0.96 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.9509, allocations: 193.2 kB / 0.9602 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.9511, allocations: 0.6902 MB / 0.9608 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.326e-05/0.9512, allocations: 11.16 kB / 0.9608 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.9512, allocations: 17.42 kB / 0.9609 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9512, allocations: 0 / 0.9609 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.004262/0.9555, allocations: 1.304 MB / 0.9621 GB, free: 1.598 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