Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_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_10_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.001394/0.001394, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001514/0.001515, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 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.463/2.463, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8698/0.8712, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001953/0.8732, allocations: 0.7736 MB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.8743, allocations: 0.8764 MB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.8743, allocations: 4 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.8744, allocations: 7.922 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.8745, allocations: 7.875 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.8747, allocations: 43.88 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.8748, allocations: 83.83 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.8749, allocations: 31.97 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.875, allocations: 39.8 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.8751, allocations: 51.81 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.8751, allocations: 11.98 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.8752, allocations: 8 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.8752, allocations: 19.92 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.8752, allocations: 27.86 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.8754, allocations: 83.66 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8754, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8754, allocations: 4 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.8754, allocations: 4 kB / 1.169 GB, free: 1.738 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006476/0.8761, allocations: 389 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.8761, allocations: 12.92 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.8761, allocations: 8.844 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.8763, allocations: 180.2 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.8763, allocations: 8.375 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.8764, allocations: 4.375 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.8767, allocations: 105.5 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.8767, allocations: 3.984 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.8767, allocations: 12 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.8767, allocations: 0 / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.8771, allocations: 91.91 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.8776, allocations: 348.5 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.8782, allocations: 118.6 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.8785, allocations: 60.81 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.8785, allocations: 7.922 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.8785, allocations: 30.56 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.8785, allocations: 3.938 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006486/0.8792, allocations: 185.5 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.8792, allocations: 55.34 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.8793, allocations: 129.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.8794, allocations: 29.7 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.8794, allocations: 92.03 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.8795, allocations: 19.75 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.8795, allocations: 25.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8796, allocations: 322.8 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.8798, allocations: 43.95 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.88, allocations: 47.89 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.8803, allocations: 101.2 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8803, allocations: 4 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003875/0.8807, allocations: 133.5 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8808, allocations: 8 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8808, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8808, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.881, allocations: 27.97 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.881, allocations: 7.938 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.8811, allocations: 15.92 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.8811, allocations: 3.984 kB / 1.172 GB, free: 14.94 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: 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 9.456e-05/0.8812, allocations: 116 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.8813, allocations: 7.906 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.8817, allocations: 150 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8817, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8818, allocations: 3.984 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8818, allocations: 3.938 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.882, allocations: 201.5 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.882, allocations: 0 / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.8822, allocations: 31.91 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8822, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.8822, allocations: 11.92 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8822, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8822, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.8827, allocations: 227.4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.8827, allocations: 85.02 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.8828, allocations: 12 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.8829, allocations: 11.98 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.883, allocations: 27.91 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.883, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.8831, allocations: 95.27 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8831, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002331/0.8833, allocations: 23.88 kB / 1.173 GB, free: 13.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: 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.0001316/0.8835, allocations: 103.2 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.8839, allocations: 111.9 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8839, allocations: 0 / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.8841, allocations: 55.89 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.8844, allocations: 18.95 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.8849, allocations: 195.9 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.8852, allocations: 0.6924 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.8852, allocations: 15.42 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8852, allocations: 0 / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of Templates: time 0.002723/0.888, allocations: 1.247 MB / 1.175 GB, free: 11.36 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches