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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001035/0.001035, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001014/0.001015, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.466/2.466, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 60.12 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7286, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001765/0.7305, allocations: 0.6044 MB / 1.222 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.7313, allocations: 0.7767 MB / 1.222 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.7313, allocations: 0 / 1.222 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.7314, allocations: 3.938 kB / 1.222 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.7314, allocations: 8 kB / 1.222 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-05/0.7315, allocations: 3.984 kB / 1.222 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.7316, allocations: 27.94 kB / 1.222 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.7316, allocations: 3.984 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.7317, allocations: 4 kB / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.7317, allocations: 11.92 kB / 1.222 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.7317, allocations: 4 kB / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-06/0.7317, allocations: 0 / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.7318, allocations: 0 / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.7318, allocations: 11.94 kB / 1.222 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.736e-05/0.7319, allocations: 11.95 kB / 1.222 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7319, allocations: 4 kB / 1.222 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7319, allocations: 11.94 kB / 1.222 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.7319, allocations: 0 / 1.222 GB, free: 0.8516 MB / 0.9356 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.0004069/0.7323, allocations: 319.5 kB / 1.223 GB, free: 500 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.7324, allocations: 16.02 kB / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.7324, allocations: 0.9375 kB / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.7325, allocations: 164.2 kB / 1.223 GB, free: 284 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.7325, allocations: 4.375 kB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.7325, allocations: 4.312 kB / 1.223 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.7327, allocations: 50.23 kB / 1.223 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7327, allocations: 192 / 1.223 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.7327, allocations: 3.938 kB / 1.223 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.7327, allocations: 0 / 1.223 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.7329, allocations: 27.97 kB / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.733, allocations: 153.7 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.7331, allocations: 34.58 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.7332, allocations: 28.78 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.7333, allocations: 7.984 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.7333, allocations: 30.56 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.7333, allocations: 0 / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002938/0.7336, allocations: 77.59 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.7336, allocations: 51.41 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.7337, allocations: 101.8 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.7337, allocations: 25.7 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.7337, allocations: 80.14 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.7338, allocations: 3.906 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.7338, allocations: 17.72 kB / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.7339, allocations: 326.9 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.734, allocations: 11.98 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.7341, allocations: 11.98 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.7342, allocations: 32.83 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7342, allocations: 4 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001677/0.7344, allocations: 61.72 kB / 1.224 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7344, allocations: 8 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.7344, allocations: 3.938 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7344, allocations: 0 / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.7345, allocations: 7.984 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7345, allocations: 0 / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.7346, allocations: 7.938 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.7346, allocations: 4.031 kB / 1.224 GB, free: 14.98 MB / 0.9512 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 6.448e-05/0.7347, allocations: 113.8 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.7347, allocations: 4 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.7347, allocations: 7.062 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7347, allocations: 3.938 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7347, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7347, allocations: 4 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.903e-05/0.7348, allocations: 149.7 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7348, allocations: 4 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.7349, allocations: 15.98 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7349, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.7349, allocations: 3.938 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7349, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7349, allocations: 3.938 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.7351, allocations: 85 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.7352, allocations: 81.14 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.7352, allocations: 7.938 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.7352, allocations: 3.984 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.7353, allocations: 7.938 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.7353, allocations: 0 / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.7353, allocations: 83.28 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7353, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001694/0.7355, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 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.0001229/0.7356, allocations: 111.2 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.7358, allocations: 27.97 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7358, allocations: 0 / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.7359, allocations: 15.98 kB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.7361, allocations: 0 / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.7364, allocations: 139.2 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.7366, allocations: 0.6768 MB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.7367, allocations: 7.438 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.7367, allocations: 0 / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of Templates: time 0.001788/0.7385, allocations: 0.4892 MB / 1.226 GB, free: 12.79 MB / 0.9512 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