Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001146/0.001146, allocations: 190.3 kB / 0.4902 GB, free: 2.254 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.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001022/0.001022, allocations: 101 kB / 0.9396 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 11.88 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.4923, allocations: 150.4 MB / 1.376 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4927, allocations: 83.94 kB / 1.376 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004353/0.497, allocations: 1.456 MB / 1.378 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4971, allocations: 0 / 1.378 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.4971, allocations: 4 kB / 1.378 GB, free: 1.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005402/0.4976, allocations: 367.2 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4977, allocations: 8.562 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.4978, allocations: 7.906 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.498, allocations: 190.9 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4981, allocations: 0 / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4981, allocations: 0 / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.4983, allocations: 73.61 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4983, allocations: 0 / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4983, allocations: 0 / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4983, allocations: 3.938 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.4985, allocations: 55.95 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.4991, allocations: 308.8 kB / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.4993, allocations: 58.58 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4993, allocations: 3.984 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4993, allocations: 34.56 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4994, allocations: 0 / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004079/0.4998, allocations: 109.6 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.4998, allocations: 55.36 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.4999, allocations: 105 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4999, allocations: 29.7 kB / 1.379 GB, free: 16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.5, allocations: 84.14 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.5, allocations: 15.8 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-06/0.5001, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5002, allocations: 326.7 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.5003, allocations: 27.97 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.5004, allocations: 27.98 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.5005, allocations: 27.98 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5005, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002269/0.5007, allocations: 97.56 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5007, allocations: 4 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5008, allocations: 0 / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5008, allocations: 4 kB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5009, allocations: 15.98 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5009, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.501, allocations: 15.94 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.501, allocations: 4 kB / 1.38 GB, free: 15.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.007e-05/0.5011, allocations: 117.7 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.5011, allocations: 7.906 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.5014, allocations: 97.55 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5014, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.5014, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5014, allocations: 384 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.5017, allocations: 173.8 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5017, allocations: 4 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5018, allocations: 15.98 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5018, allocations: 3.938 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5018, allocations: 0 / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5018, allocations: 4 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5018, allocations: 3.938 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.5022, allocations: 219.4 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.5023, allocations: 85.05 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.5023, allocations: 3.984 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.5024, allocations: 8.062 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.5025, allocations: 7.984 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.5025, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.5025, allocations: 87.28 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.5025, allocations: 0 / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002136/0.5027, allocations: 8 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0001697/0.5029, allocations: 104 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.5032, allocations: 71.89 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5032, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.5033, allocations: 27.98 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.5035, allocations: 19.88 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.504, allocations: 160.6 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.5043, allocations: 0.6848 MB / 1.381 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.5044, allocations: 12.36 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.5044, allocations: 7.438 kB / 1.381 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/0.5044, allocations: 4 kB / 1.381 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of Templates: time 0.002807/0.5072, allocations: 496.7 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches