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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009693/0.0009696, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.0009445/0.0009445, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 12 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9046/0.905, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001183/0.9062, allocations: 493.1 kB / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.9076, allocations: 0.8507 MB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.9077, allocations: 4 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.9078, allocations: 11.92 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.9079, allocations: 4 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.9081, allocations: 31.95 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.9083, allocations: 47.83 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.9084, allocations: 27.95 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.9086, allocations: 31.91 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.9087, allocations: 39.83 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.9087, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.9087, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.9088, allocations: 11.92 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.9088, allocations: 33.7 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.9089, allocations: 63.84 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9089, allocations: 3.938 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.746e-06/0.9089, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.909, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 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.0007414/0.9097, allocations: 389.1 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9098, allocations: 11.98 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.9098, allocations: 7.906 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.91, allocations: 178.8 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.91, allocations: 8 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.9101, allocations: 11.95 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.9104, allocations: 109.6 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.9104, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.9105, allocations: 4 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9105, allocations: 0 / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.9109, allocations: 119.9 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.9115, allocations: 356.5 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.9122, allocations: 134.5 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.9122, allocations: 3.984 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.9122, allocations: 34.56 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.9123, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007972/0.9131, allocations: 209.7 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.9131, allocations: 59.41 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.9133, allocations: 125.7 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.9133, allocations: 29.7 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.9134, allocations: 84.14 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.9134, allocations: 27.64 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.9134, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9135, allocations: 330.7 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.9137, allocations: 51.95 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.9139, allocations: 59.94 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.9141, allocations: 55.97 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9141, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004305/0.9146, allocations: 157.5 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9146, allocations: 8 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.9146, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.9146, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.9149, allocations: 31.97 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9149, allocations: 0.5469 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.915, allocations: 19.98 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.9151, allocations: 11.92 kB / 1.025 GB, free: 12.67 MB / 0.7794 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.y,reaToInt.y,reaToInt1.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.649e-05/0.9152, allocations: 117.8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.9152, allocations: 7.906 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.9157, allocations: 173.9 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.9157, allocations: 3.938 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9157, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9157, allocations: 3.984 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.916, allocations: 201.6 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.916, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.9162, allocations: 31.91 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9162, allocations: 0 / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.9162, allocations: 11.98 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9162, allocations: 0 / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.9162, allocations: 0 / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.9167, allocations: 267.2 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.9168, allocations: 81.02 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.9168, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.9169, allocations: 19.98 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.917, allocations: 19.97 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.917, allocations: 4 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.9171, allocations: 95.7 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9171, allocations: 4 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002408/0.9174, allocations: 15.94 kB / 1.026 GB, free: 11.54 MB / 0.7794 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 (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.0001501/0.9175, allocations: 103.2 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.918, allocations: 127.9 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.918, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.9182, allocations: 79.88 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.9185, allocations: 12.22 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.9189, allocations: 185.3 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.9192, allocations: 0.6965 MB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.147e-05/0.9193, allocations: 12.17 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.9194, allocations: 15.44 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.9194, allocations: 0 / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.003697/0.9231, allocations: 1.301 MB / 1.028 GB, free: 8.957 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches