Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 183.7 kB / 16.92 MB, free: 6.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437.8 MB / 0.7128 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003585, allocations: 19.98 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.672, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.0008659/0.6729, allocations: 406.4 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.6739, allocations: 0.8001 MB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.674, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.674, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.6741, allocations: 3.938 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.6742, allocations: 7.984 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.6743, allocations: 19.94 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.6745, allocations: 11.97 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.6745, allocations: 7.938 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.6746, allocations: 11.98 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.6746, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.6746, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.6746, allocations: 11.94 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.6747, allocations: 25.7 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.974e-05/0.6748, allocations: 19.97 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6748, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6748, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.6748, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 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.0004676/0.6753, allocations: 337.5 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6753, allocations: 11.97 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.6754, allocations: 4.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6755, allocations: 172.3 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6755, allocations: 384 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.6755, allocations: 8.375 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.6757, allocations: 58.17 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.6758, allocations: 192 / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.6758, allocations: 7.938 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6758, allocations: 3.938 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.676, allocations: 39.97 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.6764, allocations: 253 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6765, allocations: 46.44 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.6766, allocations: 28.91 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.6766, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.6767, allocations: 34.56 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.6767, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003688/0.677, allocations: 97.64 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.6771, allocations: 51.41 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.6772, allocations: 101.8 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.6772, allocations: 25.7 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.6772, allocations: 84.14 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.6773, allocations: 7.844 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.6773, allocations: 21.78 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6774, allocations: 314.8 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.6775, allocations: 19.98 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.6776, allocations: 23.98 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.6777, allocations: 48.89 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6778, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002084/0.678, allocations: 85.59 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.678, allocations: 5.875 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.678, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.678, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.6781, allocations: 11.98 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.6781, allocations: 7.938 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.6782, allocations: 12.02 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.6782, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.6783, allocations: 122.2 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.6783, allocations: 3.906 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.6786, allocations: 84.78 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6786, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6786, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.6786, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.6788, allocations: 161.6 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6788, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.6788, allocations: 15.98 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6788, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.6789, allocations: 32 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6789, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6789, allocations: 3.938 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.6791, allocations: 171.5 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.6792, allocations: 85.05 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.6792, allocations: 192 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.6793, allocations: 11.98 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.6793, allocations: 7.984 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6793, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.6794, allocations: 79.28 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6794, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000211/0.6796, allocations: 4 kB / 1.028 GB, free: 11.59 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.6797, allocations: 103.3 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.68, allocations: 47.91 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.68, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.6801, allocations: 24.05 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.6803, allocations: 11.92 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.6806, allocations: 129.1 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.6809, allocations: 0.6808 MB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.6809, allocations: 19.5 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6809, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.001946/0.6829, allocations: 0.5243 MB / 1.029 GB, free: 9.984 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches