Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.239/2.239, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001201/0.001201, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.453/1.453, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001142, allocations: 91.77 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.024e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3222, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.398, allocations: 148.1 MB / 1.351 GB, free: 18.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/1.398, allocations: 71.33 kB / 1.351 GB, free: 18.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002835/1.401, allocations: 0.8035 MB / 1.351 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.401, allocations: 0 / 1.351 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.742e-06/1.401, allocations: 0 / 1.351 GB, free: 34.23 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003902/1.401, allocations: 354.4 kB / 1.352 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.401, allocations: 11.62 kB / 1.352 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/1.401, allocations: 8.609 kB / 1.352 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.401, allocations: 166.2 kB / 1.352 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/1.401, allocations: 5.219 kB / 1.352 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/1.401, allocations: 6 kB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.723e-05/1.401, allocations: 17.84 kB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/1.402, allocations: 40.94 kB / 1.352 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.402, allocations: 0 / 1.352 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.402, allocations: 1.281 kB / 1.352 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/1.402, allocations: 0 / 1.352 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/1.402, allocations: 291.4 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/1.402, allocations: 39.19 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/1.402, allocations: 18.73 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/1.402, allocations: 0.75 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/1.402, allocations: 33.06 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.402, allocations: 0 / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001662/1.402, allocations: 48.84 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/1.402, allocations: 52.75 kB / 1.352 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/1.403, allocations: 98.48 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/1.403, allocations: 25.7 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/1.403, allocations: 90.3 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.403, allocations: 9.625 kB / 1.353 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/1.403, allocations: 1.344 kB / 1.353 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.403, allocations: 321.9 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/1.403, allocations: 11.06 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/1.403, allocations: 8.594 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/1.403, allocations: 10.78 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.403, allocations: 0 / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.749e-05/1.403, allocations: 46.94 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.403, allocations: 9.641 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.403, allocations: 0 / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.403, allocations: 0 / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/1.403, allocations: 21.48 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/1.403, allocations: 0 / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/1.403, allocations: 16.92 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/1.403, allocations: 8.469 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.589e-05/1.403, allocations: 106.2 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/1.403, allocations: 7.141 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/1.404, allocations: 59.62 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.404, allocations: 1.281 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.404, allocations: 4.297 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.404, allocations: 1.516 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/1.404, allocations: 148.6 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.404, allocations: 4.516 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.404, allocations: 21.16 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.404, allocations: 4.781 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.404, allocations: 3.938 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.404, allocations: 1.25 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.404, allocations: 0 / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/1.404, allocations: 148.3 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/1.404, allocations: 86.98 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/1.404, allocations: 1.969 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.404, allocations: 19.73 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/1.404, allocations: 8.594 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/1.404, allocations: 1.25 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.699e-05/1.404, allocations: 86.52 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.404, allocations: 4 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002161/1.405, allocations: 9.188 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001355/1.405, allocations: 99.14 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.35e-05/1.405, allocations: 20.39 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.405, allocations: 1.312 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/1.405, allocations: 14.75 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/1.405, allocations: 7.969 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/1.405, allocations: 70.94 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.406, allocations: 0.6826 MB / 1.355 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.061e-05/1.406, allocations: 1.875 kB / 1.355 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/1.406, allocations: 8.75 kB / 1.355 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.406, allocations: 1.344 kB / 1.355 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.002391/1.408, allocations: 497.8 kB / 1.355 GB, free: 31.08 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches