Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 110 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 190.7 kB / 22.23 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.944/2.944, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.88 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9244, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002205/0.9266, allocations: 0.6134 MB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.9277, allocations: 0.7846 MB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.9278, allocations: 0 / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.9278, allocations: 0 / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.9279, allocations: 3.938 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.588e-05/0.9279, allocations: 4 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.928, allocations: 19.92 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.928, allocations: 4 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.9281, allocations: 11.98 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.9282, allocations: 11.92 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.9282, allocations: 0 / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.9282, allocations: 4 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.9282, allocations: 4 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.9282, allocations: 3.938 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.9283, allocations: 15.97 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9283, allocations: 0 / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.946e-06/0.9283, allocations: 0 / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9283, allocations: 0 / 1.276 GB, free: 2.711 MB / 0.9669 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.0005211/0.9289, allocations: 262.1 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.9289, allocations: 12.03 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.9289, allocations: 0.9375 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9291, allocations: 113.2 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.9291, allocations: 4.375 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.9291, allocations: 8.25 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.9293, allocations: 46.23 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.9293, allocations: 4.188 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.9293, allocations: 3.938 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.9293, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.9295, allocations: 23.97 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.9297, allocations: 128.7 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.9298, allocations: 30.59 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.9299, allocations: 32.83 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.9299, allocations: 0 / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.9299, allocations: 34.56 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.9299, allocations: 0 / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003147/0.9302, allocations: 77.58 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.9303, allocations: 55.53 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.9303, allocations: 97.86 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.9304, allocations: 25.7 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.9304, allocations: 80.14 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.9304, allocations: 3.953 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.9305, allocations: 13.72 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9306, allocations: 318.8 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.9307, allocations: 19.92 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.9308, allocations: 11.98 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.9309, allocations: 32.83 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.9309, allocations: 4 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001866/0.9311, allocations: 65.94 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9311, allocations: 8 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9311, allocations: 3.938 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9311, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.9312, allocations: 11.97 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.9312, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.9312, allocations: 7.984 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.9313, allocations: 3.938 kB / 1.277 GB, free: 1.016 MB / 0.9669 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 8.204e-05/0.9313, allocations: 109.8 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.9313, allocations: 4 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.9314, allocations: 11.09 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9314, allocations: 0 / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9314, allocations: 0 / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.9314, allocations: 4 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.9315, allocations: 116.8 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.9315, allocations: 0 / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.9315, allocations: 11.98 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9315, allocations: 0 / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.9316, allocations: 15.81 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9316, allocations: 4 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9316, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.9317, allocations: 81.09 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.9317, allocations: 4 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.9318, allocations: 3.938 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.9318, allocations: 12.02 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.9319, allocations: 3.938 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.9319, allocations: 0 / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.9319, allocations: 83.28 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.9319, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001756/0.9321, allocations: 4 kB / 1.278 GB, free: 496 kB / 0.9669 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.0001354/0.9322, allocations: 95.23 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.9325, allocations: 35.97 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9325, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.9325, allocations: 11.98 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.9328, allocations: 9.703 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.9331, allocations: 101.4 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.9334, allocations: 0.6806 MB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.9335, allocations: 4.125 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.9335, allocations: 7.438 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.9335, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.002908/0.9364, allocations: 422 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.363231463357806]