Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.y|lesEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.y|lesEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001051/0.001051, allocations: 178.6 kB / 321.3 MB, free: 14.66 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.438/1.438, 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.0008321/0.000832, allocations: 104.9 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.151e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2067, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7095/0.9163, allocations: 131.3 MB / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.9166, allocations: 77.75 kB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001738/0.9183, allocations: 0.6229 MB / 1.021 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9184, allocations: 0 / 1.021 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9184, allocations: 0 / 1.021 GB, free: 2.801 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003617/0.9188, allocations: 335.4 kB / 1.021 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9188, allocations: 12.03 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.9189, allocations: 4 kB / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.919, allocations: 175 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.919, allocations: 3.938 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.9191, allocations: 3.5 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.9192, allocations: 33.52 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9192, allocations: 0 / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.9192, allocations: 4 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9192, allocations: 0 / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.9193, allocations: 7.812 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.9197, allocations: 271.9 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.9198, allocations: 30.08 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.9199, allocations: 12.67 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.9199, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.9199, allocations: 34.56 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.9199, allocations: 0 / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.9201, allocations: 49.38 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.9201, allocations: 54.14 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.9202, allocations: 96.25 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.9202, allocations: 25.7 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.9203, allocations: 87.83 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.9203, allocations: 3.906 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.9203, allocations: 4.031 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9205, allocations: 318.8 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.9205, allocations: 7.438 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.9205, allocations: 4 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.9205, allocations: 7.812 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9206, allocations: 0 / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.141e-05/0.9206, allocations: 37.39 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9207, allocations: 5.719 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9207, allocations: 4.094 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.9207, allocations: 4 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.9208, allocations: 7.984 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.9208, allocations: 4 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.9209, allocations: 11.97 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.9209, allocations: 7.938 kB / 1.022 GB, free: 1.016 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.769e-05/0.921, allocations: 108.9 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.921, allocations: 0 / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.921, allocations: 10.33 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.921, allocations: 4 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.921, allocations: 0 / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.921, allocations: 3.938 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.9212, allocations: 161.4 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9212, allocations: 0 / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.9213, allocations: 11.98 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.9213, allocations: 0 / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.9213, allocations: 4 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9213, allocations: 0 / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9213, allocations: 0.875 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.9215, allocations: 142.5 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.9215, allocations: 85.03 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.9215, allocations: 4 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.9216, allocations: 11.97 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.9217, allocations: 7.984 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.9217, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.9217, allocations: 83.28 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9217, allocations: 0 / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002069/0.922, allocations: 4 kB / 1.023 GB, free: 320 kB / 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001604/0.9221, allocations: 103.2 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.9222, allocations: 15.06 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9222, allocations: 0 / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.9223, allocations: 11.44 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.9224, allocations: 7.938 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.9227, allocations: 66.89 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.9229, allocations: 0.6809 MB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.923, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.923, allocations: 15.56 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/0.923, allocations: 3.938 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of Templates: time 0.002244/0.9253, allocations: 394 kB / 1.024 GB, free: 15 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches