Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.22 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.009775/0.009775, allocations: 173.9 kB / 16.27 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.516/1.516, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9396, allocations: 142.4 MB / 0.9551 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.0008659/0.9405, allocations: 343.3 kB / 0.9554 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.9414, allocations: 0.7826 MB / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.9414, allocations: 0 / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.9414, allocations: 0 / 0.9562 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.9415, allocations: 5.156 kB / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.226e-05/0.9416, allocations: 3.938 kB / 0.9562 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.9416, allocations: 16.11 kB / 0.9562 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.9417, allocations: 1.219 kB / 0.9562 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.9418, allocations: 6.344 kB / 0.9562 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.9418, allocations: 6.766 kB / 0.9562 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.9418, allocations: 9.312 kB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-06/0.9418, allocations: 0 / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.9419, allocations: 1.438 kB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.9419, allocations: 35.08 kB / 0.9562 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.514e-05/0.942, allocations: 18.7 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.942, allocations: 3.938 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.942, allocations: 0 / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.942, allocations: 0 / 0.9563 GB, free: 6.688 MB / 0.7169 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.0003909/0.9424, allocations: 339.1 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.9425, allocations: 10.06 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.9425, allocations: 0.9375 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/0.9426, allocations: 167.6 kB / 0.9568 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.9426, allocations: 1.75 kB / 0.9568 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.9426, allocations: 384 / 0.9568 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.9428, allocations: 47.97 kB / 0.9568 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9428, allocations: 1.25 kB / 0.9568 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.9429, allocations: 7.938 kB / 0.9568 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9429, allocations: 0 / 0.9568 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.9431, allocations: 38.42 kB / 0.9568 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.9432, allocations: 155.8 kB / 0.957 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.9433, allocations: 40.97 kB / 0.957 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.9434, allocations: 22.78 kB / 0.9571 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.9435, allocations: 4 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.9435, allocations: 31.78 kB / 0.9571 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.9435, allocations: 0 / 0.9571 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003513/0.9438, allocations: 102.9 kB / 0.9572 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.9439, allocations: 52.81 kB / 0.9572 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.944, allocations: 98.88 kB / 0.9573 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.944, allocations: 25.7 kB / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.944, allocations: 85.2 kB / 0.9574 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.944, allocations: 3.906 kB / 0.9574 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.9441, allocations: 10.66 kB / 0.9575 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.9441, allocations: 319.9 kB / 0.9578 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.9442, allocations: 20.77 kB / 0.9578 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.9443, allocations: 17.55 kB / 0.9578 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.9445, allocations: 50.56 kB / 0.9578 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9445, allocations: 1 kB / 0.9578 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001894/0.9447, allocations: 74.42 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9447, allocations: 5.812 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.9447, allocations: 3.938 kB / 0.9579 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9447, allocations: 3.984 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.9448, allocations: 8.062 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9449, allocations: 0 / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.9449, allocations: 13.83 kB / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.9449, allocations: 5.062 kB / 0.958 GB, free: 4.977 MB / 0.7169 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.297e-05/0.945, allocations: 110.9 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.945, allocations: 1.344 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.9451, allocations: 12.14 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9451, allocations: 0 / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.9451, allocations: 1.094 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9451, allocations: 0 / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.9452, allocations: 157.3 kB / 0.9582 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9452, allocations: 0 / 0.9582 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.9452, allocations: 10.94 kB / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9453, allocations: 0 / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.9453, allocations: 5.031 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9453, allocations: 0 / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9453, allocations: 4.984 kB / 0.9582 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.9455, allocations: 99.02 kB / 0.9583 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.9456, allocations: 78.14 kB / 0.9584 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.9456, allocations: 11.92 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.9456, allocations: 6.781 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.9457, allocations: 1.188 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.9457, allocations: 0 / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.9457, allocations: 86.58 kB / 0.9585 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9457, allocations: 0 / 0.9585 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001746/0.9459, allocations: 3.312 kB / 0.9585 GB, free: 4.363 MB / 0.7169 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.0001555/0.9461, allocations: 97.03 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.9463, allocations: 52.42 kB / 0.9587 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9463, allocations: 0 / 0.9587 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/0.9464, allocations: 26.55 kB / 0.9587 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.9466, allocations: 7.609 kB / 0.9587 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.9469, allocations: 96.75 kB / 0.9588 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.9471, allocations: 0.6751 MB / 0.9594 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.9471, allocations: 1.094 kB / 0.9594 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.9471, allocations: 7.438 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.9471, allocations: 1.188 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.002505/0.9496, allocations: 330.9 kB / 0.9598 GB, free: 3.25 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches