Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008823/0.0008824, allocations: 97.78 kB / 16.02 MB, free: 76 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.001159/0.001159, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7371 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 15.28 kB / 0.9035 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3282, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0008983/0.3292, allocations: 343.3 kB / 1.06 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.3302, allocations: 0.7885 MB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.3302, allocations: 0 / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.3303, allocations: 0 / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.3303, allocations: 3.938 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.378e-05/0.3304, allocations: 0 / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.3305, allocations: 19.92 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.3305, allocations: 7.984 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.3306, allocations: 4 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.3306, allocations: 11.92 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3307, allocations: 4 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-06/0.3307, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.3307, allocations: 4 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.3307, allocations: 29.64 kB / 1.061 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.396e-05/0.3308, allocations: 11.97 kB / 1.061 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3308, allocations: 0 / 1.061 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3308, allocations: 0 / 1.061 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3308, allocations: 0 / 1.061 GB, free: 3.785 MB / 0.8106 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.000443/0.3313, allocations: 347.5 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3313, allocations: 11.97 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3314, allocations: 4.938 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3315, allocations: 168.5 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3315, allocations: 384 / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.3315, allocations: 384 / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3317, allocations: 50.23 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3317, allocations: 8.125 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3317, allocations: 3.938 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3318, allocations: 0 / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.3319, allocations: 43.97 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.3321, allocations: 149.7 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.3323, allocations: 42.59 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.3324, allocations: 24.89 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3324, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.3324, allocations: 38.56 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3324, allocations: 0 / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003638/0.3328, allocations: 93.62 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3329, allocations: 59.39 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.3329, allocations: 93.86 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.333, allocations: 25.7 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.333, allocations: 92.08 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.333, allocations: 0 / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.3331, allocations: 9.719 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3332, allocations: 314.8 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.3333, allocations: 20.02 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.248e-05/0.3334, allocations: 23.98 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3335, allocations: 52.77 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3335, allocations: 0 / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002088/0.3338, allocations: 73.66 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3338, allocations: 4 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3338, allocations: 3.938 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3338, allocations: 0 / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.3339, allocations: 11.98 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3339, allocations: 0 / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.334, allocations: 12 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.334, allocations: 0 / 1.062 GB, free: 1.812 MB / 0.8106 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 7.531e-05/0.3341, allocations: 113.9 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.3341, allocations: 7.906 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.3341, allocations: 7.062 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3341, allocations: 192 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3341, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.3341, allocations: 3.984 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3343, allocations: 153.7 kB / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3343, allocations: 0 / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.3343, allocations: 19.92 kB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3344, allocations: 0 / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3344, allocations: 3.938 kB / 1.063 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3344, allocations: 0 / 1.063 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3344, allocations: 0 / 1.063 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3346, allocations: 97.09 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.3346, allocations: 77.11 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3347, allocations: 3.938 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.3347, allocations: 15.98 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.3348, allocations: 0 / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.3348, allocations: 0 / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.3348, allocations: 79.28 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3348, allocations: 4.031 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001778/0.335, allocations: 4 kB / 1.063 GB, free: 1.141 MB / 0.8106 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.0001429/0.3352, allocations: 101.8 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.3354, allocations: 47.91 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3354, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.3355, allocations: 23.98 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3357, allocations: 7.875 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.336, allocations: 122.5 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3363, allocations: 0.6809 MB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.3363, allocations: 7.438 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3363, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of Templates: time 0.001893/0.3382, allocations: 492.1 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches