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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001459/0.001459, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001589/0.001589, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.429/1.429, 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 10.1.0-maint.10.0.x/package.mo): time 2.414/2.414, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 68.34 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002281/0.319, allocations: 0.6013 MB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.32, allocations: 0.7963 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.32, allocations: 0 / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3201, allocations: 3.938 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.3202, allocations: 0 / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.451e-05/0.3202, allocations: 0 / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.3203, allocations: 27.92 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.3204, allocations: 4 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.3205, allocations: 0 / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.3205, allocations: 15.92 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3205, allocations: 0 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.3205, allocations: 4 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.3206, allocations: 0 / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.3206, allocations: 11.92 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.499e-05/0.3207, allocations: 15.97 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3207, allocations: 0 / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3207, allocations: 0 / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.3207, allocations: 4 kB / 1.02 GB, free: 8.332 MB / 0.795 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.0004507/0.3212, allocations: 331.4 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3212, allocations: 12.62 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.3212, allocations: 0.9375 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3214, allocations: 168.2 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3214, allocations: 4.359 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3214, allocations: 8.312 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3216, allocations: 46.25 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3216, allocations: 192 / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3216, allocations: 3.938 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3216, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3217, allocations: 27.97 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.3219, allocations: 161.6 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.824e-05/0.322, allocations: 30.56 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.3221, allocations: 28.83 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3221, allocations: 0 / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3221, allocations: 34.56 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3221, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002884/0.3224, allocations: 77.58 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3225, allocations: 55.41 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.3226, allocations: 97.86 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.3226, allocations: 29.69 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.3226, allocations: 80.14 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.3226, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.3227, allocations: 17.72 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.3228, allocations: 314.9 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.3229, allocations: 15.98 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.3229, allocations: 15.98 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3231, allocations: 36.81 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3231, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001641/0.3233, allocations: 65.64 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3233, allocations: 8 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3233, allocations: 3.938 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3233, allocations: 3.984 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.3234, allocations: 4 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3234, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3235, allocations: 11.92 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.3235, allocations: 0 / 1.022 GB, free: 6.445 MB / 0.795 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.96e-05/0.3235, allocations: 117.9 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.3236, allocations: 0 / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.3236, allocations: 7.062 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3236, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3236, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3236, allocations: 3.938 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.885e-05/0.3237, allocations: 157.7 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3237, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.3237, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3238, allocations: 4 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3238, allocations: 11.88 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3238, allocations: 3.984 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3238, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.324, allocations: 77.11 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.324, allocations: 77.11 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.324, allocations: 11.95 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.3241, allocations: 4 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3241, allocations: 3.938 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.3241, allocations: 4 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.3242, allocations: 83.27 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3242, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002149/0.3244, allocations: 4 kB / 1.022 GB, free: 5.785 MB / 0.795 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.0001271/0.3245, allocations: 99.25 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.3247, allocations: 35.95 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3247, allocations: 0 / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.3248, allocations: 15.98 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.325, allocations: 4 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.3253, allocations: 101.6 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.3255, allocations: 0.6768 MB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.3255, allocations: 0 / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.3255, allocations: 7.438 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3255, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of Templates: time 0.002228/0.3278, allocations: 425.6 kB / 1.024 GB, free: 4.383 MB / 0.795 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 -s cvode -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/jenkins1/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