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.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001045/0.001045, allocations: 180 kB / 0.4902 GB, free: 2.32 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.497/1.497, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.0009162/0.0009162, allocations: 101.5 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 8.781 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3012, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.5175, allocations: 150.2 MB / 1.376 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5178, allocations: 95.91 kB / 1.376 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002387/0.5202, allocations: 0.8371 MB / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5202, allocations: 0 / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.5202, allocations: 0 / 1.377 GB, free: 14.13 MB / 0.8855 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.0005031/0.5207, allocations: 379.2 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5208, allocations: 8.031 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.5208, allocations: 3.906 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.521, allocations: 171 kB / 1.377 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.521, allocations: 0 / 1.377 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.5211, allocations: 4 kB / 1.377 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.5213, allocations: 87.7 kB / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5214, allocations: 7.922 kB / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.5214, allocations: 4 kB / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5214, allocations: 0 / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.5217, allocations: 83.92 kB / 1.378 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.5222, allocations: 308.8 kB / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.5224, allocations: 66.55 kB / 1.378 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.5225, allocations: 0 / 1.378 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5225, allocations: 34.64 kB / 1.378 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.5225, allocations: 0 / 1.378 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0005932/0.5231, allocations: 165.4 kB / 1.378 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.5231, allocations: 51.41 kB / 1.378 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.5232, allocations: 104.9 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.5233, allocations: 29.7 kB / 1.378 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.5233, allocations: 84.14 kB / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.5233, allocations: 3.906 kB / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5234, allocations: 0 / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5235, allocations: 322.8 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.5237, allocations: 43.97 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.5239, allocations: 43.95 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.524, allocations: 39.97 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.524, allocations: 0 / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003179/0.5244, allocations: 125.5 kB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5244, allocations: 5.094 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5244, allocations: 4 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5244, allocations: 0 / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.5246, allocations: 23.97 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5246, allocations: 0 / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.5247, allocations: 19.92 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.5247, allocations: 7.953 kB / 1.379 GB, free: 11.74 MB / 0.8855 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 () * Number of clocked 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 8.814e-05/0.5248, allocations: 114.4 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.5248, allocations: 0 / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.5249, allocations: 11.89 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5249, allocations: 4 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5249, allocations: 0 / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5249, allocations: 0 / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.5251, allocations: 177.5 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5251, allocations: 0 / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5252, allocations: 19.98 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5252, allocations: 4 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5252, allocations: 3.984 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5253, allocations: 320 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5253, allocations: 0 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.5256, allocations: 227.5 kB / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.5257, allocations: 77.11 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.5257, allocations: 4.047 kB / 1.38 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5258, allocations: 23.95 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.5259, allocations: 4 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.5259, allocations: 0 / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.526, allocations: 95.25 kB / 1.38 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.526, allocations: 0 / 1.38 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001929/0.5262, allocations: 4 kB / 1.38 GB, free: 10.89 MB / 0.8855 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 () * Number of clocked 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.0001409/0.5263, allocations: 103.2 kB / 1.38 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.5267, allocations: 91.92 kB / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5267, allocations: 3.938 kB / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.5268, allocations: 47.95 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.5271, allocations: 11.95 kB / 1.38 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.5276, allocations: 124.7 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.5279, allocations: 0.6848 MB / 1.381 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.5279, allocations: 4 kB / 1.381 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.528, allocations: 11.44 kB / 1.381 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/0.528, allocations: 3.938 kB / 1.381 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of Templates: time 0.002751/0.5308, allocations: 0.5478 MB / 1.381 GB, free: 9.207 MB / 0.8855 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