Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 187.7 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008229/0.000823, allocations: 85.91 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.498e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.221, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7006/0.9216, allocations: 132 MB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.9218, allocations: 76.19 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004343/0.9262, allocations: 1.456 MB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9262, allocations: 4 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9262, allocations: 0 / 1.016 GB, free: 4.445 MB / 0.6355 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.0005302/0.9268, allocations: 381.9 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.9268, allocations: 8.031 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.9269, allocations: 7.906 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.927, allocations: 188.8 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.9271, allocations: 4 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.9271, allocations: 4.75 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001269/0.9272, allocations: 47.3 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.9274, allocations: 69.84 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.9274, allocations: 0 / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.9274, allocations: 0 / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.9274, allocations: 4 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.9279, allocations: 316.6 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.9284, allocations: 82.17 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.9284, allocations: 35.47 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.9285, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.9285, allocations: 42.5 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.9285, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002093/0.9287, allocations: 89.47 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.9288, allocations: 55.41 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.9289, allocations: 107.3 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.9289, allocations: 29.69 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.9289, allocations: 94.36 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.929, allocations: 14.94 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.929, allocations: 4 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9291, allocations: 322.1 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.9292, allocations: 18.31 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.9292, allocations: 22.17 kB / 1.017 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.9292, allocations: 18.38 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9293, allocations: 0 / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001361/0.9294, allocations: 84.7 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.9294, allocations: 6.188 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9294, allocations: 3.938 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.9294, allocations: 0 / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.9296, allocations: 39.95 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.9297, allocations: 0 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.9298, allocations: 23.88 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.9298, allocations: 3.984 kB / 1.018 GB, free: 2.332 MB / 0.6355 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 () * 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 8.44e-05/0.9299, allocations: 112 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.9299, allocations: 7.906 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.9302, allocations: 92.58 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9302, allocations: 3.938 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.9302, allocations: 7.984 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.9302, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.9304, allocations: 172 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.9304, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.9306, allocations: 31.97 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9306, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.9306, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9306, allocations: 1.625 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9306, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.9308, allocations: 190.6 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.9309, allocations: 85 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.9309, allocations: 8 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.9311, allocations: 14.52 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.9312, allocations: 22.16 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.9312, allocations: 7.938 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.9313, allocations: 98.2 kB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9313, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002388/0.9315, allocations: 16.12 kB / 1.019 GB, free: 1.457 MB / 0.6355 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 () * 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.0001517/0.9317, allocations: 111.1 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.9318, allocations: 52.73 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9318, allocations: 0 / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.9319, allocations: 41.17 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.9321, allocations: 8.281 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.9324, allocations: 106.2 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.9328, allocations: 0.7002 MB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.33e-05/0.9328, allocations: 8.188 kB / 1.019 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.9329, allocations: 19.42 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.9329, allocations: 0 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of Templates: time 0.003194/0.9361, allocations: 1.23 MB / 1.021 GB, free: 15.18 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches