Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001354/0.001354, allocations: 183.5 kB / 0.4902 GB, free: 2.258 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.594/1.594, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.0008571/0.000857, allocations: 98.81 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 6.906 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.4887, allocations: 150.2 MB / 1.376 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/0.4892, allocations: 87.94 kB / 1.376 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004299/0.4935, allocations: 0.8566 MB / 1.377 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4935, allocations: 0 / 1.377 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.4936, allocations: 4 kB / 1.377 GB, free: 2.445 MB / 0.8698 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.0009411/0.4945, allocations: 371.2 kB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 9.242e-05/0.4946, allocations: 8.562 kB / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.4947, allocations: 3.906 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.495, allocations: 186.9 kB / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.4951, allocations: 7.938 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.4951, allocations: 3.938 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.4957, allocations: 78.55 kB / 1.377 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4957, allocations: 0 / 1.377 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.4957, allocations: 4 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4958, allocations: 0 / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.4964, allocations: 87.92 kB / 1.378 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.4973, allocations: 308.8 kB / 1.378 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.4977, allocations: 66.55 kB / 1.378 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.4977, allocations: 0 / 1.378 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.4978, allocations: 42.56 kB / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 2.534e-06/0.4978, allocations: 0 / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.001048/0.4989, allocations: 169.5 kB / 1.378 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.499, allocations: 51.41 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.4991, allocations: 105.1 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4992, allocations: 25.7 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.4993, allocations: 96.08 kB / 1.378 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.4994, allocations: 15.8 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.4994, allocations: 0 / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4996, allocations: 314.8 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.4999, allocations: 43.97 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.5002, allocations: 39.95 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.5005, allocations: 43.97 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5005, allocations: 0 / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006733/0.5012, allocations: 125.6 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.5013, allocations: 4 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5013, allocations: 7.984 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5013, allocations: 0 / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.5016, allocations: 15.98 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5016, allocations: 11.98 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.5018, allocations: 15.98 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.5018, allocations: 3.953 kB / 1.379 GB, free: 20 kB / 0.8698 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 () * 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 0.0001545/0.502, allocations: 110.2 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.502, allocations: 7.906 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.5021, allocations: 7.891 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5021, allocations: 4 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.5022, allocations: 11.88 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5022, allocations: 0 / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.5025, allocations: 169.6 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5025, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5027, allocations: 23.97 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5027, allocations: 336 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5028, allocations: 4 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5028, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5028, allocations: 7.938 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.5035, allocations: 215.4 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.5036, allocations: 89 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.5036, allocations: 4 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.5039, allocations: 15.98 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.5039, allocations: 0 / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.504, allocations: 11.98 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.808e-05/0.504, allocations: 83.28 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5041, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003842/0.5044, allocations: 8 kB / 1.38 GB, free: 15.17 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: 0 () * 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.0001783/0.5046, allocations: 100 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006135/0.5053, allocations: 99.86 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5053, allocations: 0 / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.5056, allocations: 47.97 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.506, allocations: 4.812 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.5065, allocations: 145.9 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.5069, allocations: 0.6848 MB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.803e-05/0.507, allocations: 7.922 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.5071, allocations: 7.438 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.5071, allocations: 0 / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of Templates: time 0.004349/0.5114, allocations: 0.534 MB / 1.381 GB, free: 13.49 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches