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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001699/0.001699, allocations: 105.2 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.001901/0.001901, allocations: 193.1 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.529/2.529, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 72.11 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.297, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001733/0.2987, allocations: 0.6129 MB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007547/0.2995, allocations: 0.7947 MB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.2996, allocations: 0 / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.2996, allocations: 0 / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.2996, allocations: 7.922 kB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.454e-05/0.2997, allocations: 0 / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.2997, allocations: 23.98 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.2998, allocations: 4 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.2999, allocations: 7.922 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.2999, allocations: 11.94 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.2999, allocations: 0 / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-06/0.2999, allocations: 4 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.2999, allocations: 0 / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.3, allocations: 11.92 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.438e-05/0.3, allocations: 11.98 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3, allocations: 0 / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3, allocations: 4 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.3, allocations: 0 / 1.028 GB, free: 0.5469 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.0003879/0.3004, allocations: 324.9 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3005, allocations: 8.031 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.3005, allocations: 4.938 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3006, allocations: 172.2 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3007, allocations: 384 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.3007, allocations: 384 / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3008, allocations: 54.23 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3008, allocations: 4.125 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3009, allocations: 3.938 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3009, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.301, allocations: 31.91 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.3012, allocations: 161.7 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.3013, allocations: 30.56 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/0.3013, allocations: 24.84 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.3014, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3014, allocations: 30.56 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3014, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.000287/0.3017, allocations: 85.52 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.3017, allocations: 51.41 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.3018, allocations: 105.8 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3018, allocations: 25.7 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.3019, allocations: 80.14 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3019, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.3019, allocations: 9.719 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3021, allocations: 323 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.3021, allocations: 11.98 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.3022, allocations: 15.98 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3023, allocations: 32.81 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3023, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001642/0.3025, allocations: 69.58 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3025, allocations: 4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.3025, allocations: 7.922 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3026, allocations: 4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.3026, allocations: 4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3027, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.3027, allocations: 7.984 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3027, allocations: 0 / 1.03 GB, free: 14.67 MB / 0.8106 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 9.117e-05/0.3028, allocations: 117.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.3028, allocations: 4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.3028, allocations: 7.062 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3029, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3029, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3029, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.303, allocations: 161.6 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.303, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.303, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.303, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3031, allocations: 3.938 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3031, allocations: 3.984 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3031, allocations: 7.938 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.3033, allocations: 77.11 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.3033, allocations: 77.11 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3033, allocations: 11.95 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.3034, allocations: 4 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3034, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.3034, allocations: 3.938 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.3035, allocations: 87.45 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3035, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001714/0.3036, allocations: 4 kB / 1.03 GB, free: 14 MB / 0.8106 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.0001195/0.3038, allocations: 99.25 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.3039, allocations: 39.89 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.304, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.304, allocations: 11.98 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.3042, allocations: 4.141 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.3045, allocations: 105.6 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.3047, allocations: 0.6729 MB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.3047, allocations: 3.984 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.3047, allocations: 7.438 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3047, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of Templates: time 0.002064/0.3068, allocations: 410.9 kB / 1.032 GB, free: 12.6 MB / 0.8106 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 -s gbode -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