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.428/1.428, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001058/0.001057, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009528/0.0009527, allocations: 96.94 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.153e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2031, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7151/0.9183, allocations: 131.7 MB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.9186, allocations: 71.91 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004539/0.9232, allocations: 1.454 MB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9232, allocations: 0 / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9232, allocations: 0 / 1.022 GB, free: 1.605 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.0005249/0.9238, allocations: 394.9 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9238, allocations: 8.031 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.9239, allocations: 7.906 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.924, allocations: 174.9 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.9241, allocations: 7.312 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.9241, allocations: 7.984 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.9243, allocations: 80.81 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.9243, allocations: 0 / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.9243, allocations: 0 / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9244, allocations: 4 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.9245, allocations: 49.61 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.9251, allocations: 346.7 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.9255, allocations: 94.86 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.9256, allocations: 38.03 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.9256, allocations: 0 / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.9257, allocations: 34.5 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.9257, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002435/0.9259, allocations: 88.38 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.926, allocations: 63.27 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.9261, allocations: 103.8 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.9261, allocations: 33.7 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.9262, allocations: 91.78 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.9263, allocations: 23 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.9263, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.9264, allocations: 322.7 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.9265, allocations: 19.44 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.9266, allocations: 26.19 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.9266, allocations: 27.89 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9266, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000158/0.9268, allocations: 89.27 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9268, allocations: 4 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9268, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9269, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.927, allocations: 27.97 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.9271, allocations: 3.953 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.9272, allocations: 23.92 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.9272, allocations: 10.98 kB / 1.024 GB, free: 15.42 MB / 0.6511 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 7.797e-05/0.9273, allocations: 104.9 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.9273, allocations: 7.906 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.9276, allocations: 102.6 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9276, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.9276, allocations: 7.984 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.9276, allocations: 7.953 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.9278, allocations: 191.3 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9278, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.928, allocations: 31.97 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.928, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.928, allocations: 7.922 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.928, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.928, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.9283, allocations: 195.5 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.9283, allocations: 85.02 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.9283, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.9285, allocations: 15.98 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.9286, allocations: 22.66 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.9286, allocations: 7.984 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.9287, allocations: 96.58 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9287, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002159/0.9289, allocations: 16.12 kB / 1.025 GB, free: 14.51 MB / 0.6511 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.000165/0.9291, allocations: 122.9 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.9292, allocations: 54.11 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9292, allocations: 3.312 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.9293, allocations: 33.81 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.9295, allocations: 17.64 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.9299, allocations: 108.3 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.9302, allocations: 0.6926 MB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.647e-05/0.9303, allocations: 20.16 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.9303, allocations: 19.11 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.9303, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.003567/0.9339, allocations: 1.316 MB / 1.027 GB, free: 12.14 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