Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001421/0.001421, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01377/0.01377, allocations: 169.1 kB / 16.26 MB, free: 6.328 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.574/1.574, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.941/2.941, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 11.78 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4216, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001183/0.4228, allocations: 0.5031 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.4241, allocations: 0.8702 MB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.4242, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.4242, allocations: 3.938 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.4244, allocations: 3.938 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.4246, allocations: 35.95 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.4247, allocations: 79.73 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4248, allocations: 27.92 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.4249, allocations: 39.83 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.425, allocations: 35.84 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.4251, allocations: 7.938 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.4251, allocations: 4 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.4251, allocations: 19.91 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.4252, allocations: 53.5 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.4253, allocations: 83.7 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4253, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4253, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4254, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 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.0006928/0.4261, allocations: 384.9 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4261, allocations: 12.03 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.4262, allocations: 12.83 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.4263, allocations: 184.2 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4264, allocations: 384 / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.4264, allocations: 4.375 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.4268, allocations: 129.7 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4268, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4268, allocations: 4 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4268, allocations: 0 / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.4272, allocations: 123.1 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.4278, allocations: 336.6 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.4285, allocations: 142.5 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.4287, allocations: 68.8 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4287, allocations: 0 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4288, allocations: 34.56 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4288, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007539/0.4295, allocations: 217.5 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.4296, allocations: 55.41 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.4297, allocations: 125.8 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.4298, allocations: 25.7 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.4298, allocations: 96.03 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.4299, allocations: 19.66 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.4299, allocations: 25.66 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4301, allocations: 318.8 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.4303, allocations: 59.95 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.4305, allocations: 55.95 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.4309, allocations: 120.8 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4309, allocations: 0 / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004648/0.4314, allocations: 153.6 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4314, allocations: 8 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4314, allocations: 0 / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4314, allocations: 4 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.4316, allocations: 35.91 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4316, allocations: 3.938 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.4318, allocations: 31.81 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4318, allocations: 4 kB / 1.063 GB, free: 0.793 MB / 0.8106 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 0.0001206/0.4319, allocations: 113.8 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.432, allocations: 4 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.4325, allocations: 174.5 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4325, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4325, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4325, allocations: 3.938 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.4328, allocations: 213.4 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4328, allocations: 0 / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.433, allocations: 27.97 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.433, allocations: 4 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.433, allocations: 8 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.433, allocations: 0 / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.433, allocations: 3.938 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.4336, allocations: 259.4 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.4337, allocations: 77.11 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.4337, allocations: 4 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.4339, allocations: 27.97 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.434, allocations: 11.98 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.434, allocations: 11.92 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.4341, allocations: 103.6 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4341, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002463/0.4343, allocations: 15.91 kB / 1.064 GB, free: 15.65 MB / 0.8262 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.0001842/0.4345, allocations: 99.25 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.435, allocations: 127.9 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.435, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.4353, allocations: 75.88 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.4356, allocations: 6.531 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.4361, allocations: 201.3 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.4364, allocations: 0.6887 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.212e-05/0.4365, allocations: 12 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.4365, allocations: 15.42 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4365, allocations: 0 / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.004216/0.4408, allocations: 1.342 MB / 1.067 GB, free: 13.03 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches