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.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 249.5 MB / 257 MB, free: 6.961 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.001171/0.001172, allocations: 180.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.000916/0.0009162, allocations: 80.58 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.91e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.677/0.8903, allocations: 131.6 MB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.8905, allocations: 73.27 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002283/0.8928, allocations: 0.852 MB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8928, allocations: 4 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8929, allocations: 4 kB / 1.015 GB, free: 5.277 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004055/0.8933, allocations: 357.5 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.8933, allocations: 16.03 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.8934, allocations: 3.906 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.8935, allocations: 167 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8935, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.8935, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.85e-05/0.8936, allocations: 17.69 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.595e-05/0.8937, allocations: 47.62 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8937, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8937, allocations: 3.984 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8937, allocations: 0 / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.8942, allocations: 278.3 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.8942, allocations: 32.89 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.8943, allocations: 15.92 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.8943, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.8943, allocations: 37.64 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.8943, allocations: 3.938 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001375/0.8945, allocations: 48.05 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.8945, allocations: 58.14 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.8946, allocations: 99.86 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.8946, allocations: 25.7 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.8947, allocations: 91.39 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.8947, allocations: 3.906 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.8947, allocations: 0 / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8948, allocations: 326 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.8948, allocations: 8.062 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.8949, allocations: 7.312 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.807e-05/0.8949, allocations: 4 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.8949, allocations: 0 / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.432e-05/0.895, allocations: 56.34 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.895, allocations: 12 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.895, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.895, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8952, allocations: 19.92 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.8952, allocations: 0 / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.255e-05/0.8953, allocations: 23.98 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.8953, allocations: 1.312 kB / 1.016 GB, free: 3.422 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 (less1.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.898e-05/0.8954, allocations: 108.9 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.8954, allocations: 7.25 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.8954, allocations: 4.344 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.8954, allocations: 0 / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8954, allocations: 4 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8954, allocations: 0 / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.8956, allocations: 148.8 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.8956, allocations: 4 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.781e-05/0.8957, allocations: 23.97 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8957, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.8957, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.8957, allocations: 3.938 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8957, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.8958, allocations: 154 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.8959, allocations: 81.06 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.8959, allocations: 0 / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.896, allocations: 23.3 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.8961, allocations: 4.219 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.8961, allocations: 4 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.8961, allocations: 82.72 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8961, allocations: 4 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001927/0.8963, allocations: 8 kB / 1.017 GB, free: 2.711 MB / 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 (less1.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.0001275/0.8965, allocations: 99.23 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.53e-05/0.8966, allocations: 23.17 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.8966, allocations: 0 / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.8966, allocations: 19 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.8968, allocations: 6.469 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.897, allocations: 75.05 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.8972, allocations: 0.6846 MB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.8973, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.8973, allocations: 11.44 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.8973, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of Templates: time 0.002055/0.8994, allocations: 0.5188 MB / 1.018 GB, free: 1.258 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[509]=10.000000 File[5004]=1.000000 Error: Could not read variable les.u1 in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable les.u1 from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! Error: Could not read variable les.u2 in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable les.u2 from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! Error: Could not read variable les.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable les.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! Error: Could not read variable lesHys.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat. Warning: Get data of variable lesHys.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat failed! " Variables in the reference:time,les.u1,les.u2,les.y,lesHys.y Variables in the result:ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,time