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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 178.9 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.696/1.696, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 10.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3164, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.5086, allocations: 149.1 MB / 1.369 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.5089, allocations: 67.97 kB / 1.369 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00429/0.5132, allocations: 1.429 MB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5132, allocations: 4 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5132, allocations: 4 kB / 1.37 GB, free: 11.39 MB / 0.8698 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.0005371/0.5137, allocations: 387 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5138, allocations: 12.03 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.5138, allocations: 11.91 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.514, allocations: 178.9 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.514, allocations: 8 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.514, allocations: 4 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.5143, allocations: 109.6 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.5144, allocations: 8 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5144, allocations: 4 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5144, allocations: 3.938 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.5148, allocations: 123.9 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.5154, allocations: 340.6 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.516, allocations: 134.5 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.516, allocations: 0 / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.5161, allocations: 34.56 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.5161, allocations: 4 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006926/0.5168, allocations: 221.5 kB / 1.372 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.5168, allocations: 51.41 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.5169, allocations: 116.9 kB / 1.372 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.517, allocations: 25.7 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.517, allocations: 100 kB / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.5171, allocations: 19.66 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.5171, allocations: 4 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5172, allocations: 318.8 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.5174, allocations: 59.89 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.5176, allocations: 55.95 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5178, allocations: 55.95 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5178, allocations: 0 / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004172/0.5182, allocations: 157.6 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5182, allocations: 4 kB / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5183, allocations: 0 / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5183, allocations: 0 / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.5185, allocations: 35.92 kB / 1.372 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5185, allocations: 4 kB / 1.372 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.5187, allocations: 27.88 kB / 1.373 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.5187, allocations: 0 / 1.373 GB, free: 8.613 MB / 0.8698 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 (min1.u1,min1.u2,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.871e-05/0.5188, allocations: 117.8 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.5188, allocations: 4 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.5193, allocations: 173.8 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5193, allocations: 11.94 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5194, allocations: 3.953 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5194, allocations: 0 / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.5196, allocations: 193.6 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5196, allocations: 0 / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.5197, allocations: 39.91 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5198, allocations: 0 / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.5198, allocations: 4 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5198, allocations: 4 kB / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5198, allocations: 0 / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.5202, allocations: 259.9 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.5203, allocations: 81.11 kB / 1.373 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5203, allocations: 7.938 kB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.5205, allocations: 19.97 kB / 1.373 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.5206, allocations: 23.97 kB / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.5206, allocations: 4 kB / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.5207, allocations: 99.64 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5207, allocations: 0 / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002346/0.5209, allocations: 19.86 kB / 1.374 GB, free: 7.465 MB / 0.8698 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.u1,min1.u2,min1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.5211, allocations: 119 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.5215, allocations: 127.9 kB / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5215, allocations: 0 / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.5218, allocations: 80.03 kB / 1.374 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.522, allocations: 11.98 kB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.5224, allocations: 181.6 kB / 1.374 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.5227, allocations: 0.6965 MB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.901e-05/0.5228, allocations: 12.19 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.5228, allocations: 15.42 kB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5228, allocations: 0 / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of Templates: time 0.00365/0.5265, allocations: 1.3 MB / 1.376 GB, free: 4.875 MB / 0.8698 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches