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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001152/0.001152, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.001176/0.001176, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 63.91 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9176/0.9193, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001865/0.9212, allocations: 0.7757 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008901/0.9221, allocations: 0.8637 MB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.9222, allocations: 1.156 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.9222, allocations: 5.203 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.9223, allocations: 10.09 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.9225, allocations: 51.11 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.9227, allocations: 82.7 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.9228, allocations: 22.36 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.923, allocations: 39.64 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.9231, allocations: 45.19 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.9231, allocations: 12.12 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.421e-05/0.9232, allocations: 12.16 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.9232, allocations: 23.08 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.9233, allocations: 35.56 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.9235, allocations: 86.69 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9235, allocations: 0.5625 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9235, allocations: 0 / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.9235, allocations: 1.156 kB / 1.091 GB, free: 4.156 MB / 0.8575 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.0006129/0.9241, allocations: 391.9 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9242, allocations: 9.719 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.9242, allocations: 9.25 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.9243, allocations: 182.2 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.9243, allocations: 3.938 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.9244, allocations: 7.625 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.9247, allocations: 105.7 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.9247, allocations: 0 / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.9247, allocations: 5.344 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.9247, allocations: 0.8438 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.9251, allocations: 102.4 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.9256, allocations: 344.3 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.9262, allocations: 122.4 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.9265, allocations: 52.39 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.9265, allocations: 0.9375 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.9265, allocations: 44.05 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.9265, allocations: 4 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006952/0.9272, allocations: 182.6 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.9272, allocations: 53.58 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.9273, allocations: 122.9 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.9274, allocations: 30.89 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.9274, allocations: 93.31 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.9274, allocations: 20.06 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.9275, allocations: 22.91 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.9275, allocations: 324.4 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.9277, allocations: 43.34 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.9279, allocations: 52.86 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.9283, allocations: 104.7 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9283, allocations: 0 / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004362/0.9288, allocations: 143.4 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9288, allocations: 5.312 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.9288, allocations: 0 / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.9288, allocations: 0.7812 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.929, allocations: 24.47 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.929, allocations: 1.125 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.9291, allocations: 16.16 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.9292, allocations: 3.719 kB / 1.093 GB, free: 2.207 MB / 0.8575 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 6.946e-05/0.9292, allocations: 121.9 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.9293, allocations: 7.531 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.9298, allocations: 149.1 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9298, allocations: 0.8438 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9298, allocations: 4.984 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9298, allocations: 8.734 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.93, allocations: 198.8 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.93, allocations: 0.6875 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.9302, allocations: 23.12 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9302, allocations: 5.891 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.9302, allocations: 2.078 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9302, allocations: 0 / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.9302, allocations: 2.109 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.9306, allocations: 238.3 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.9307, allocations: 83.62 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.9307, allocations: 1.891 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.9309, allocations: 12.34 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.9309, allocations: 25.08 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.931, allocations: 2.984 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.931, allocations: 104.7 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.931, allocations: 0 / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002436/0.9313, allocations: 16.25 kB / 1.094 GB, free: 1.426 MB / 0.8575 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.0001133/0.9314, allocations: 106.4 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.9318, allocations: 108.1 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9319, allocations: 0 / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.9321, allocations: 62.95 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.9324, allocations: 13.03 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.9328, allocations: 204.1 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.933, allocations: 0.6936 MB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.933, allocations: 21.02 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.933, allocations: 0.5938 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of Templates: time 0.003253/0.9363, allocations: 1.234 MB / 1.096 GB, free: 316 kB / 0.8575 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/jenkins1/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