Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.491/2.491, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001536/0.001536, allocations: 186 kB / 0.4902 GB, free: 2.23 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.66/1.66, allocations: 223.2 MB / 0.7992 GB, free: 15.61 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.001151/0.001151, allocations: 100.2 kB / 0.9396 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 12 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3182, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.5091, allocations: 149.6 MB / 1.375 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5094, allocations: 71.95 kB / 1.375 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.00177/0.5112, allocations: 0.6414 MB / 1.376 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5112, allocations: 0 / 1.376 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5112, allocations: 4 kB / 1.376 GB, free: 14.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003717/0.5116, allocations: 343.3 kB / 1.376 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5116, allocations: 8.031 kB / 1.376 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.5117, allocations: 3.906 kB / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5118, allocations: 175 kB / 1.377 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5118, allocations: 0 / 1.377 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.5118, allocations: 0 / 1.377 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.5121, allocations: 57.61 kB / 1.377 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.5121, allocations: 4 kB / 1.377 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5121, allocations: 3.984 kB / 1.377 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5121, allocations: 4 kB / 1.377 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.5123, allocations: 39.97 kB / 1.377 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.5127, allocations: 270.9 kB / 1.377 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5129, allocations: 42.5 kB / 1.377 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.5129, allocations: 0 / 1.377 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5129, allocations: 34.56 kB / 1.377 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.513, allocations: 0 / 1.377 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003884/0.5133, allocations: 101.8 kB / 1.377 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.5134, allocations: 51.41 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.5135, allocations: 92.98 kB / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5135, allocations: 29.7 kB / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.5136, allocations: 80.14 kB / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.5136, allocations: 7.906 kB / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5136, allocations: 0 / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5137, allocations: 314.8 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.5138, allocations: 27.95 kB / 1.378 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.5139, allocations: 23.97 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.514, allocations: 24.05 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.514, allocations: 4 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.5142, allocations: 77.56 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5143, allocations: 4 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5143, allocations: 0 / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5143, allocations: 4.031 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.5144, allocations: 11.98 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5144, allocations: 0 / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.5145, allocations: 11.94 kB / 1.378 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.5145, allocations: 0 / 1.378 GB, free: 12.88 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 (2): * Single equations (assignments): 2 * 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.793e-05/0.5146, allocations: 118.6 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.5146, allocations: 0 / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.5149, allocations: 88.7 kB / 1.378 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5149, allocations: 7.875 kB / 1.378 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5149, allocations: 0 / 1.378 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5149, allocations: 0 / 1.378 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.515, allocations: 165.7 kB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.515, allocations: 0 / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.5151, allocations: 15.98 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5151, allocations: 0 / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5151, allocations: 4 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5151, allocations: 0 / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5152, allocations: 0 / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.5154, allocations: 175.4 kB / 1.378 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.5154, allocations: 77.11 kB / 1.378 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5155, allocations: 4 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.5155, allocations: 11.98 kB / 1.378 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.5156, allocations: 4.031 kB / 1.378 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.5156, allocations: 4 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.5157, allocations: 79.27 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5157, allocations: 0 / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002053/0.5159, allocations: 7.906 kB / 1.379 GB, free: 12.04 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 (2): * Single equations (assignments): 2 * 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.0001494/0.516, allocations: 99.25 kB / 1.379 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.5162, allocations: 51.95 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5163, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.5164, allocations: 27.92 kB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.5166, allocations: 4.766 kB / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.5169, allocations: 112.7 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.5171, allocations: 0.677 MB / 1.379 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.5172, allocations: 3.938 kB / 1.379 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.5172, allocations: 11.44 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.5172, allocations: 0 / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of Templates: time 0.002267/0.5195, allocations: 361.4 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches