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.0009065/0.0009064, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007732/0.007732, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.618/1.618, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.716/2.716, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003729, allocations: 19.92 kB / 0.8729 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8182, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0009423/0.8192, allocations: 0.4969 MB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.8203, allocations: 0.8546 MB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.8204, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.8204, allocations: 7.922 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.865e-05/0.8205, allocations: 7.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.8207, allocations: 35.97 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.8208, allocations: 83.75 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.821, allocations: 27.97 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.821, allocations: 27.86 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.8211, allocations: 47.81 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.8212, allocations: 7.938 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.8212, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.8212, allocations: 11.92 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.043e-05/0.8213, allocations: 57.55 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.8214, allocations: 83.64 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8214, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8214, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.8214, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 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.0006596/0.8221, allocations: 389.3 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8222, allocations: 8.031 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.8222, allocations: 8.844 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.8224, allocations: 176.2 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.8224, allocations: 8.359 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.8224, allocations: 8.375 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.8227, allocations: 121.7 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.8228, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8228, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.8228, allocations: 4 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.8232, allocations: 119.9 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.8237, allocations: 348.5 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.8244, allocations: 138.5 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.8246, allocations: 64.81 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.8247, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.8247, allocations: 30.56 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.8247, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007409/0.8255, allocations: 213.7 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.8255, allocations: 51.41 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.8256, allocations: 121.8 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.8257, allocations: 29.7 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.8257, allocations: 104 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.8258, allocations: 15.75 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.8258, allocations: 21.7 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8259, allocations: 322.7 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.8262, allocations: 59.95 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.8263, allocations: 56.02 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.8267, allocations: 120.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8268, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004705/0.8272, allocations: 165.5 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8273, allocations: 5.719 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8273, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8273, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.8275, allocations: 31.91 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.8275, allocations: 3.938 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.8277, allocations: 27.83 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.8277, allocations: 4 kB / 1.027 GB, free: 11.11 MB / 0.7794 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.879e-05/0.8278, allocations: 115.4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.8278, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.8283, allocations: 173.9 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8284, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8284, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.8284, allocations: 7.922 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.8286, allocations: 209.5 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.8286, allocations: 3.938 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.8288, allocations: 27.97 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.8288, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8288, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8288, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8288, allocations: 4 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.8293, allocations: 263.4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.8294, allocations: 89 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.8294, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.8296, allocations: 15.98 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.8297, allocations: 23.97 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.8297, allocations: 7.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.8298, allocations: 103.1 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8298, allocations: 0 / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002378/0.83, allocations: 15.94 kB / 1.028 GB, free: 9.965 MB / 0.7794 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.0001452/0.8302, allocations: 99.25 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.8307, allocations: 127.9 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8307, allocations: 0 / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.8309, allocations: 75.89 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.8312, allocations: 11.98 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.8317, allocations: 193.3 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.8319, allocations: 0.6926 MB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.577e-05/0.832, allocations: 15.98 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.8321, allocations: 15.42 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.8321, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.00395/0.836, allocations: 1.339 MB / 1.031 GB, free: 7.352 MB / 0.7794 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/jenkins/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