Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001148/0.001148, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.3 MB / 0.7915 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00087/0.0008703, allocations: 91.58 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.118e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 143 MB / 1.219 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9963/1.316, allocations: 150.2 MB / 1.365 GB, free: 3.887 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.317, allocations: 87.09 kB / 1.365 GB, free: 3.836 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002278/1.319, allocations: 0.8538 MB / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.362e-06/1.319, allocations: 0 / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.319, allocations: 4 kB / 1.366 GB, free: 3.043 MB / 0.823 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.0004332/1.319, allocations: 354.5 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.319, allocations: 8.031 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/1.319, allocations: 4.531 kB / 1.367 GB, free: 2.641 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.32, allocations: 178.1 kB / 1.367 GB, free: 2.43 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.32, allocations: 0 / 1.367 GB, free: 2.43 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/1.32, allocations: 4 kB / 1.367 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/1.32, allocations: 52.56 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.32, allocations: 0 / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.32, allocations: 0 / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.32, allocations: 7.938 kB / 1.367 GB, free: 2.367 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/1.32, allocations: 15.12 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/1.32, allocations: 306.5 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/1.32, allocations: 33.02 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/1.321, allocations: 15.61 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/1.321, allocations: 0 / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/1.321, allocations: 34.56 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.321, allocations: 0 / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001602/1.321, allocations: 52.73 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/1.321, allocations: 55.36 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/1.321, allocations: 101.5 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/1.321, allocations: 25.7 kB / 1.368 GB, free: 1.684 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/1.321, allocations: 91.88 kB / 1.368 GB, free: 1.594 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/1.321, allocations: 7.906 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/1.321, allocations: 3.312 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.321, allocations: 314.8 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/1.321, allocations: 11.75 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/1.321, allocations: 17.44 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/1.321, allocations: 11.48 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.321, allocations: 0 / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.408e-05/1.321, allocations: 47.8 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.321, allocations: 8 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.321, allocations: 0 / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/1.321, allocations: 0 / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/1.321, allocations: 23.97 kB / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.321, allocations: 0 / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/1.322, allocations: 23.94 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/1.322, allocations: 0 / 1.368 GB, free: 1.141 MB / 0.823 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 (lesEqu.y) * 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 6.42e-05/1.322, allocations: 104.9 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.322, allocations: 8 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/1.322, allocations: 11.14 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.322, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.322, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.322, allocations: 0 / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/1.322, allocations: 168 kB / 1.368 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.322, allocations: 0 / 1.368 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/1.322, allocations: 30.86 kB / 1.368 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.322, allocations: 4 kB / 1.368 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/1.322, allocations: 3.984 kB / 1.368 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/1.322, allocations: 0 / 1.368 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.322, allocations: 0 / 1.368 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/1.322, allocations: 150 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/1.322, allocations: 81.05 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/1.322, allocations: 4 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/1.322, allocations: 23.48 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/1.322, allocations: 7.922 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.322, allocations: 4 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.316e-05/1.323, allocations: 83.41 kB / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.323, allocations: 0 / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001879/1.323, allocations: 8 kB / 1.369 GB, free: 408 kB / 0.823 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 (lesEqu.y) * 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.0001216/1.323, allocations: 99.25 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.361e-05/1.323, allocations: 26.67 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.323, allocations: 3.562 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/1.323, allocations: 11.25 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/1.323, allocations: 9.156 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/1.323, allocations: 79.23 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/1.324, allocations: 0.6848 MB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.111e-05/1.324, allocations: 4 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/1.324, allocations: 7.438 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.324, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.002468/1.326, allocations: 0.5735 MB / 1.37 GB, free: 14.89 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches