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.000864/0.000864, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005647/0.005647, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.601/2.601, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 11.98 kB / 0.8729 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7282, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0007926/0.7291, allocations: 341 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.7299, allocations: 0.7846 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.7299, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.73, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.73, allocations: 7.938 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.937e-05/0.7301, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.7301, allocations: 19.98 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.7302, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.7303, allocations: 7.938 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.428e-05/0.7303, allocations: 11.92 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.7303, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-06/0.7303, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.7303, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.7304, allocations: 33.64 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.297e-05/0.7304, allocations: 15.95 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7305, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7305, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7305, allocations: 4 kB / 1.024 GB, free: 14.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003963/0.7309, allocations: 335.5 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7309, allocations: 12.03 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.7309, allocations: 0.9375 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7311, allocations: 166.4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.7311, allocations: 384 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.7311, allocations: 4.375 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.7313, allocations: 50.23 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.7313, allocations: 192 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.7313, allocations: 7.922 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.7313, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.7315, allocations: 43.91 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.7316, allocations: 149.7 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.7318, allocations: 42.59 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.7318, allocations: 28.83 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7319, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.7319, allocations: 38.56 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.7319, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003275/0.7322, allocations: 101.4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.7323, allocations: 55.34 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.7324, allocations: 106 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.7324, allocations: 25.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.7324, allocations: 80.14 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.7324, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.7325, allocations: 9.719 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.7326, allocations: 314.8 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.7327, allocations: 23.98 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.7328, allocations: 19.98 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.7329, allocations: 44.89 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.733, allocations: 4 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001936/0.7332, allocations: 73.59 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7332, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7332, allocations: 3.938 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.7332, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.7333, allocations: 12.02 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.7333, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.7334, allocations: 8 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.7334, allocations: 3.984 kB / 1.026 GB, free: 12.68 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 (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.188e-05/0.7334, allocations: 105.8 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.7335, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.7335, allocations: 11.06 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.7335, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.7335, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.7335, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.7336, allocations: 157.6 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7336, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.7337, allocations: 11.98 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7337, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.7337, allocations: 3.938 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7337, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7337, allocations: 11.88 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.7339, allocations: 97.09 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.734, allocations: 81.14 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.734, allocations: 3.938 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.734, allocations: 15.98 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.7341, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.7341, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.7341, allocations: 79.28 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7341, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001757/0.7343, allocations: 4 kB / 1.026 GB, free: 12.01 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 (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.000123/0.7344, allocations: 107.2 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.7346, allocations: 47.84 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.7347, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.7347, allocations: 28.05 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.7349, allocations: 7.922 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.7352, allocations: 92.72 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.7354, allocations: 0.677 MB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.967e-05/0.7355, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.7355, allocations: 11.5 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7355, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.002123/0.7376, allocations: 338 kB / 1.028 GB, free: 10.66 MB / 0.7794 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