Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007139/0.007139, allocations: 95.78 kB / 15.73 MB, free: 6.031 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.001319/0.001319, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.765/2.765, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3829, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002111/0.385, allocations: 0.5959 MB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3863, allocations: 0.7965 MB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.3864, allocations: 0 / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.3864, allocations: 0 / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.3865, allocations: 0 / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.684e-05/0.3866, allocations: 0 / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.051e-05/0.3867, allocations: 23.92 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.356e-05/0.3868, allocations: 15.88 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.3868, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.3869, allocations: 11.98 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3869, allocations: 0 / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.3869, allocations: 8 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.3869, allocations: 0 / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.387, allocations: 7.938 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.3871, allocations: 23.89 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3871, allocations: 0 / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3871, allocations: 3.938 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.3871, allocations: 0 / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004995/0.3876, allocations: 335.5 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3877, allocations: 8.031 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3877, allocations: 8.938 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3879, allocations: 164.3 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3879, allocations: 384 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3879, allocations: 384 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3881, allocations: 50.23 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3881, allocations: 192 / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3882, allocations: 3.938 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3882, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3883, allocations: 35.95 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.3885, allocations: 157.7 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3886, allocations: 30.5 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.3887, allocations: 20.91 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3888, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3888, allocations: 34.56 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.3888, allocations: 4 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003339/0.3891, allocations: 77.52 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3892, allocations: 51.41 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.3893, allocations: 101.9 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3893, allocations: 25.83 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.3894, allocations: 88.12 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.3894, allocations: 3.938 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.3894, allocations: 13.72 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3896, allocations: 314.8 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.3897, allocations: 11.98 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.3897, allocations: 11.98 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3899, allocations: 40.88 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3899, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001901/0.3901, allocations: 65.56 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3901, allocations: 4 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3901, allocations: 15.81 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3901, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.3902, allocations: 12.02 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3902, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.3903, allocations: 11.98 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3903, allocations: 0 / 1.17 GB, free: 3.379 MB / 0.92 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 (1): * Single equations (assignments): 1 * 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 8.082e-05/0.3904, allocations: 109.8 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.3904, allocations: 4 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.3904, allocations: 7.062 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3904, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3905, allocations: 4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3905, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3906, allocations: 157.7 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3906, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.3906, allocations: 4 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3907, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3907, allocations: 3.938 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3907, allocations: 4 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3907, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.3909, allocations: 89.03 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.3909, allocations: 77.11 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.391, allocations: 7.922 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.391, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.391, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.3911, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.3911, allocations: 91.3 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3911, allocations: 0 / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002022/0.3913, allocations: 4 kB / 1.17 GB, free: 2.727 MB / 0.92 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 (1): * Single equations (assignments): 1 * 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.0001502/0.3915, allocations: 99.25 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3917, allocations: 27.97 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3917, allocations: 0 / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.3918, allocations: 27.97 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3921, allocations: 2.5 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.3924, allocations: 93.45 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3926, allocations: 0.6729 MB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.3927, allocations: 3.938 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.3927, allocations: 7.438 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of SimCode: time 5.71e-07/0.3927, allocations: 0 / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of Templates: time 0.002686/0.3954, allocations: 416.9 kB / 1.172 GB, free: 1.328 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches