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.01196/0.01196, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001933/0.001933, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.059/3.059, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 67.89 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4075, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002309/0.4099, allocations: 0.7812 MB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.411, allocations: 0.8506 MB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.4111, allocations: 4 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.554e-05/0.4112, allocations: 15.8 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.4113, allocations: 7.922 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.4115, allocations: 43.89 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.4117, allocations: 83.81 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.4119, allocations: 31.97 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.412, allocations: 39.84 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.4122, allocations: 51.81 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.4122, allocations: 8 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.4122, allocations: 8 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.4123, allocations: 15.92 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.4123, allocations: 39.78 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.4125, allocations: 91.72 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4125, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4125, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.4125, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 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.0007596/0.4133, allocations: 395.1 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4134, allocations: 12.62 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.4134, allocations: 8.844 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4136, allocations: 172.2 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4136, allocations: 4.375 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.4136, allocations: 8.375 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.4139, allocations: 113.5 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4139, allocations: 0 / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.414, allocations: 0 / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.414, allocations: 4 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.4143, allocations: 107.8 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.4148, allocations: 336.6 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.4154, allocations: 126.5 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.4156, allocations: 56.81 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.4156, allocations: 4 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4156, allocations: 30.56 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.936e-06/0.4156, allocations: 3.984 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006109/0.4163, allocations: 185.5 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4163, allocations: 55.34 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4164, allocations: 121.8 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4164, allocations: 25.7 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.4165, allocations: 104 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.4165, allocations: 23.64 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.4166, allocations: 29.7 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.4167, allocations: 322.8 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.4169, allocations: 43.95 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.417, allocations: 43.95 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.4173, allocations: 100.8 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4174, allocations: 0 / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003545/0.4177, allocations: 134.1 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4177, allocations: 4 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4178, allocations: 8.016 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4178, allocations: 0 / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.4179, allocations: 27.97 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.418, allocations: 3.984 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.4181, allocations: 19.83 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4181, allocations: 7.984 kB / 1.212 GB, free: 4.719 MB / 0.9669 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.206e-05/0.4182, allocations: 113.8 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.4182, allocations: 4 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.4187, allocations: 153.9 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4187, allocations: 4 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4187, allocations: 7.922 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4187, allocations: 3.938 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.4189, allocations: 197.5 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4189, allocations: 0 / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4191, allocations: 27.97 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4191, allocations: 4 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4191, allocations: 3.984 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4191, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4191, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.4195, allocations: 239.4 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.4196, allocations: 85.02 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.4196, allocations: 7.875 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.4197, allocations: 11.98 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.4198, allocations: 23.91 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4198, allocations: 4 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.4199, allocations: 99.27 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4199, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000233/0.4201, allocations: 12 kB / 1.213 GB, free: 3.633 MB / 0.9669 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.0001258/0.4203, allocations: 103.2 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.4207, allocations: 99.89 kB / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4207, allocations: 0 / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.4209, allocations: 71.88 kB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.4212, allocations: 8 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.4216, allocations: 178.2 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.4218, allocations: 0.69 MB / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.236e-05/0.4219, allocations: 12 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.422, allocations: 19.42 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.422, allocations: 0 / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of Templates: time 0.003919/0.4259, allocations: 1.593 MB / 1.216 GB, free: 0.8164 MB / 0.9669 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