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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 106.8 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.49/1.49, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.2 MB / 0.665 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 63.89 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6661, allocations: 140.4 MB / 0.9498 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002077/0.6682, allocations: 0.7251 MB / 0.9505 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.669, allocations: 0.7993 MB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.6691, allocations: 1.375 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.6691, allocations: 3.938 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.6692, allocations: 0 / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.6693, allocations: 14.72 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.6694, allocations: 24.17 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.6695, allocations: 4.125 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.6696, allocations: 10.75 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.6696, allocations: 14.67 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.6696, allocations: 2.75 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.6696, allocations: 1.375 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.6697, allocations: 1.375 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.6697, allocations: 9.312 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.639e-05/0.6698, allocations: 20.08 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6698, allocations: 0 / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6698, allocations: 0 / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6698, allocations: 0 / 0.9514 GB, free: 7.859 MB / 0.7169 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.000329/0.6701, allocations: 343.2 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6702, allocations: 13.61 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.6702, allocations: 6.312 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.485e-05/0.6703, allocations: 165.7 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.6703, allocations: 384 / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.6703, allocations: 1.75 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.6704, allocations: 54.55 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6705, allocations: 4.172 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.6705, allocations: 7.938 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6705, allocations: 0 / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.6706, allocations: 39.14 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.6709, allocations: 241.2 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.671, allocations: 46.81 kB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.6711, allocations: 22.47 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.6711, allocations: 5.359 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.6712, allocations: 30.56 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6712, allocations: 0 / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000325/0.6715, allocations: 85.36 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.6715, allocations: 51.41 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/0.6716, allocations: 95.36 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.6716, allocations: 29.64 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.6716, allocations: 85.52 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.6716, allocations: 17.14 kB / 0.9527 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.6717, allocations: 11.09 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.6717, allocations: 316.2 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.6718, allocations: 17.45 kB / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.6719, allocations: 16.83 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.672, allocations: 40.66 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.672, allocations: 0 / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.6722, allocations: 72.56 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.6722, allocations: 5.094 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6723, allocations: 0 / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.6723, allocations: 0 / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.6724, allocations: 10.66 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6724, allocations: 0 / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.6724, allocations: 7.891 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.6724, allocations: 1.094 kB / 0.9531 GB, free: 6.035 MB / 0.7169 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 4.87e-05/0.6725, allocations: 119 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.6725, allocations: 5.344 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.6727, allocations: 69.89 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6728, allocations: 1.312 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6728, allocations: 0 / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6728, allocations: 1.25 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.6729, allocations: 157.9 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6729, allocations: 0 / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.673, allocations: 13.92 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.673, allocations: 3.938 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.673, allocations: 5.469 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.673, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.673, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.6732, allocations: 172.3 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.6733, allocations: 77.11 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.6733, allocations: 1.75 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.6734, allocations: 6.828 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.6734, allocations: 1.281 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.6734, allocations: 1.656 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.6735, allocations: 86.05 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6735, allocations: 0 / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002381/0.6737, allocations: 4.25 kB / 0.9538 GB, free: 5.297 MB / 0.7169 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.0001322/0.6739, allocations: 101.8 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.6741, allocations: 36.53 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6741, allocations: 0 / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.6742, allocations: 24.16 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.6746, allocations: 11.67 kB / 0.954 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.6749, allocations: 133.7 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.675, allocations: 0.6816 MB / 0.9548 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.6751, allocations: 8.688 kB / 0.9548 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6751, allocations: 0 / 0.9548 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of Templates: time 0.002145/0.6772, allocations: 0.5393 MB / 0.9553 GB, free: 4.047 MB / 0.7169 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches