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.001504/0.001505, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001511/0.001511, allocations: 183.9 kB / 17.35 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.486/1.486, 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.74/2.74, allocations: 461.9 MB / 0.7355 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9851/0.9865, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001991/0.9886, allocations: 0.5953 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.9896, allocations: 0.7844 MB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.9897, allocations: 0 / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.9897, allocations: 4 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.9898, allocations: 3.938 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.447e-05/0.9899, allocations: 4 kB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.9899, allocations: 15.98 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.99, allocations: 8 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.9901, allocations: 11.94 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.9901, allocations: 7.922 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.9902, allocations: 4 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-06/0.9902, allocations: 0 / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.9902, allocations: 0 / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.9902, allocations: 15.92 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.613e-05/0.9903, allocations: 15.91 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.9903, allocations: 4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9903, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.9903, allocations: 0 / 1.21 GB, free: 12.14 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.0004711/0.9908, allocations: 331.6 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.9909, allocations: 8.031 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.9909, allocations: 4.844 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.9911, allocations: 168.2 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.9911, allocations: 384 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.9911, allocations: 4.375 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.9913, allocations: 46.23 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.9913, allocations: 4.172 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.9913, allocations: 3.938 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9913, allocations: 0 / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.9915, allocations: 31.91 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.9917, allocations: 157.7 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.9918, allocations: 30.59 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.9919, allocations: 20.91 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.9919, allocations: 4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.9919, allocations: 30.56 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.992, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0003354/0.9923, allocations: 85.61 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.9923, allocations: 51.41 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.9924, allocations: 101.8 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.9924, allocations: 25.7 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.9925, allocations: 84.12 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.9925, allocations: 7.906 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.9925, allocations: 17.72 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9927, allocations: 310.8 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.9927, allocations: 16.02 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.9928, allocations: 15.98 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.993, allocations: 36.81 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.993, allocations: 3.938 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001769/0.9932, allocations: 57.73 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.9932, allocations: 8 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.9932, allocations: 0 / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9932, allocations: 3.938 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.9933, allocations: 7.984 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9933, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.9934, allocations: 11.98 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.9934, allocations: 0 / 1.212 GB, free: 10.26 MB / 0.9356 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.457e-05/0.9935, allocations: 117.8 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.9935, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.9935, allocations: 7.062 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9935, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9935, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.9936, allocations: 85.09 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.9936, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.505e-05/0.9936, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.9937, allocations: 7.984 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002357/0.9939, allocations: 140.9 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002486/0.9942, allocations: 234.7 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.038e-05/0.9943, allocations: 24.03 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.9943, allocations: 79.28 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of Backend: time 3.21e-07/0.9943, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.9948, allocations: 102.2 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004986/0.9953, allocations: 0.5453 MB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of Templates: time 0.002779/0.9981, allocations: 0.4966 MB / 1.213 GB, free: 8.328 MB / 0.9356 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