Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001097/0.001097, allocations: 192.1 kB / 498.1 MB, free: 5.734 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.512/1.512, allocations: 223.2 MB / 0.7948 GB, free: 18.78 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.00098/0.00098, allocations: 102 kB / 0.9346 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 13.03 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.5116, allocations: 148.8 MB / 1.368 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5119, allocations: 63.97 kB / 1.368 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001655/0.5136, allocations: 0.6492 MB / 1.369 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5136, allocations: 0 / 1.369 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5136, allocations: 0 / 1.369 GB, free: 3.801 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000367/0.514, allocations: 343.2 kB / 1.369 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.514, allocations: 8.031 kB / 1.369 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.514, allocations: 8 kB / 1.369 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.5142, allocations: 167 kB / 1.369 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5142, allocations: 0 / 1.369 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.5142, allocations: 4 kB / 1.369 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.5144, allocations: 53.67 kB / 1.369 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5144, allocations: 0 / 1.369 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.5144, allocations: 0 / 1.369 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5144, allocations: 4 kB / 1.369 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.5146, allocations: 43.95 kB / 1.37 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.5151, allocations: 270.8 kB / 1.37 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.5152, allocations: 50.47 kB / 1.37 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.5152, allocations: 0 / 1.37 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5153, allocations: 42.62 kB / 1.37 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5153, allocations: 4 kB / 1.37 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003869/0.5157, allocations: 89.64 kB / 1.37 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.5157, allocations: 59.47 kB / 1.37 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.5158, allocations: 93 kB / 1.37 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.5158, allocations: 25.7 kB / 1.37 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.5159, allocations: 92.03 kB / 1.37 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.5159, allocations: 0 / 1.37 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.5159, allocations: 4 kB / 1.37 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.516, allocations: 314.8 kB / 1.371 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.5161, allocations: 23.98 kB / 1.371 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.5162, allocations: 19.98 kB / 1.371 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.5163, allocations: 23.97 kB / 1.371 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5163, allocations: 0 / 1.371 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.5165, allocations: 81.64 kB / 1.371 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5165, allocations: 4 kB / 1.371 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.5166, allocations: 0 / 1.371 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5166, allocations: 0 / 1.371 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.5167, allocations: 20.02 kB / 1.371 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5167, allocations: 3.938 kB / 1.371 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.5167, allocations: 11.92 kB / 1.371 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.5168, allocations: 0 / 1.371 GB, free: 1.766 MB / 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 (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.986e-05/0.5169, allocations: 113.8 kB / 1.371 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.5169, allocations: 0 / 1.371 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.5171, allocations: 84.78 kB / 1.371 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5171, allocations: 0 / 1.371 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5171, allocations: 0 / 1.371 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5172, allocations: 3.984 kB / 1.371 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.5173, allocations: 157.6 kB / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5173, allocations: 0 / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.5174, allocations: 20.02 kB / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5174, allocations: 0 / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.5174, allocations: 0 / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5174, allocations: 3.938 kB / 1.371 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5174, allocations: 3.938 kB / 1.371 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.5177, allocations: 175.7 kB / 1.371 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.5177, allocations: 89 kB / 1.371 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.5178, allocations: 0 / 1.371 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.5178, allocations: 7.984 kB / 1.371 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.5179, allocations: 4 kB / 1.371 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5179, allocations: 3.938 kB / 1.371 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.5179, allocations: 83.31 kB / 1.371 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5179, allocations: 0 / 1.371 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001947/0.5181, allocations: 11.98 kB / 1.371 GB, free: 0.918 MB / 0.8698 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.0001447/0.5183, allocations: 99.03 kB / 1.372 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.5185, allocations: 51.91 kB / 1.372 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5186, allocations: 0 / 1.372 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.5186, allocations: 23.97 kB / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.5189, allocations: 12.73 kB / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.5191, allocations: 104.8 kB / 1.372 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.5194, allocations: 0.6809 MB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.5194, allocations: 4 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.5195, allocations: 7.438 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5195, allocations: 0 / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of Templates: time 0.002097/0.5216, allocations: 357.4 kB / 1.373 GB, free: 15.52 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches