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.001494/0.001494, allocations: 110 kB / 16.41 MB, free: 6.5 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.001473/0.001473, allocations: 185.6 kB / 17.34 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.449/1.449, 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 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8105, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001646/0.8122, allocations: 0.6051 MB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.813, allocations: 0.778 MB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.813, allocations: 1.062 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.8131, allocations: 0 / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.8132, allocations: 5.734 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-05/0.8132, allocations: 5.297 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.8133, allocations: 18.23 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.8133, allocations: 5.594 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.8134, allocations: 9.109 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.8135, allocations: 12.72 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.8135, allocations: 0.9688 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.8135, allocations: 2.344 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.8135, allocations: 0.75 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.8135, allocations: 10.58 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.277e-05/0.8136, allocations: 16.58 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8136, allocations: 3.938 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8136, allocations: 5.281 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8136, allocations: 0 / 1.09 GB, free: 4.512 MB / 0.8575 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.0003425/0.814, allocations: 325.6 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.814, allocations: 9.75 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.8141, allocations: 2.094 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.546e-05/0.8141, allocations: 170.9 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.8142, allocations: 1.375 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.8142, allocations: 1.5 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.8143, allocations: 53.45 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.8143, allocations: 192 / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.8144, allocations: 3.938 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.8144, allocations: 1.062 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.8145, allocations: 29.05 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.8146, allocations: 153.4 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.8148, allocations: 36.38 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.8148, allocations: 18.64 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.8149, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.8149, allocations: 36.5 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.8149, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000308/0.8152, allocations: 82.61 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.8152, allocations: 52.47 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.8153, allocations: 101.9 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.8153, allocations: 25.7 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.8153, allocations: 81.61 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.8154, allocations: 1.156 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.8154, allocations: 15.33 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.8154, allocations: 320.7 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.8155, allocations: 13.55 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.8156, allocations: 12.56 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.8158, allocations: 35.66 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8158, allocations: 0 / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000181/0.816, allocations: 71.8 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.816, allocations: 7.781 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.816, allocations: 4.641 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.816, allocations: 0.8125 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.8161, allocations: 10.64 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8161, allocations: 1.062 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.8162, allocations: 6.109 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.8162, allocations: 1 kB / 1.092 GB, free: 2.906 MB / 0.8575 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 4.661e-05/0.8162, allocations: 111.5 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.8162, allocations: 1.719 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.8163, allocations: 16.98 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8163, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8163, allocations: 5.781 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8163, allocations: 0 / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.276e-05/0.8164, allocations: 149.8 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8164, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.8164, allocations: 11.09 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8164, allocations: 4.562 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.8164, allocations: 4.906 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.8164, allocations: 3.938 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8164, allocations: 2.141 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.8166, allocations: 83.69 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.8167, allocations: 78.7 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.8167, allocations: 9.5 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.8167, allocations: 5.281 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.8168, allocations: 1.844 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.8168, allocations: 0.75 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.199e-05/0.8168, allocations: 84.5 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8168, allocations: 0 / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001753/0.817, allocations: 2.781 kB / 1.092 GB, free: 2.316 MB / 0.8575 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.0001196/0.8171, allocations: 103.3 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.8173, allocations: 31.39 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8174, allocations: 1.062 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.8174, allocations: 18.52 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.8177, allocations: 8.938 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.8179, allocations: 127.5 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.426e-05/0.818, allocations: 0.6731 MB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.818, allocations: 8.5 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of SimCode: time 6.71e-07/0.818, allocations: 0 / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of Templates: time 0.001827/0.8199, allocations: 0.4945 MB / 1.094 GB, free: 1.344 MB / 0.8575 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/jenkins1/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