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.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001756/0.001756, allocations: 191.6 kB / 16.14 MB, free: 6.699 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.657/2.657, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8092/0.8107, allocations: 140.3 MB / 0.9489 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002103/0.8128, allocations: 0.6646 MB / 0.9496 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.8137, allocations: 0.7787 MB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.8138, allocations: 1.375 kB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.8138, allocations: 0 / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.8139, allocations: 11.97 kB / 0.9504 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.469e-05/0.8139, allocations: 4.938 kB / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.814, allocations: 15.66 kB / 0.9504 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.8141, allocations: 9.359 kB / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.8141, allocations: 7.031 kB / 0.9504 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.8142, allocations: 5.453 kB / 0.9504 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.8142, allocations: 1.062 kB / 0.9504 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.8142, allocations: 5.219 kB / 0.9504 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.8142, allocations: 0 / 0.9504 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.8142, allocations: 5.219 kB / 0.9504 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.657e-05/0.8143, allocations: 15.59 kB / 0.9504 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8143, allocations: 0 / 0.9504 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.52e-07/0.8143, allocations: 0 / 0.9504 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.8143, allocations: 1.719 kB / 0.9504 GB, free: 8.051 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.0003496/0.8147, allocations: 331.2 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.8147, allocations: 13.98 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.8148, allocations: 2.656 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.8149, allocations: 166.3 kB / 0.9509 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.8149, allocations: 1.906 kB / 0.9509 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.8149, allocations: 384 / 0.9509 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.815, allocations: 51.36 kB / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.815, allocations: 192 / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.8151, allocations: 5.375 kB / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.8151, allocations: 0 / 0.951 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.8152, allocations: 28.53 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.8153, allocations: 155.3 kB / 0.9512 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.8154, allocations: 36.31 kB / 0.9512 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.8156, allocations: 21.09 kB / 0.9512 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.8156, allocations: 1.25 kB / 0.9512 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.8156, allocations: 34.55 kB / 0.9512 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8156, allocations: 1.438 kB / 0.9512 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000306/0.8159, allocations: 83.56 kB / 0.9513 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.816, allocations: 52.78 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.89e-05/0.816, allocations: 109.9 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.816, allocations: 25.7 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/0.816, allocations: 81.52 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.8161, allocations: 1.375 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.8161, allocations: 11.09 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.8162, allocations: 320.2 kB / 0.9519 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.8162, allocations: 20.2 kB / 0.9519 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.8163, allocations: 12.23 kB / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.8165, allocations: 33.33 kB / 0.952 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8165, allocations: 0 / 0.952 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000163/0.8166, allocations: 64.97 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8166, allocations: 5.5 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8167, allocations: 3.938 kB / 0.952 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.8167, allocations: 1.375 kB / 0.952 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.8168, allocations: 12.05 kB / 0.952 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8168, allocations: 4 kB / 0.9521 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.8168, allocations: 4.125 kB / 0.9521 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.8168, allocations: 1.375 kB / 0.9521 GB, free: 6.34 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 4.645e-05/0.8169, allocations: 115.2 kB / 0.9522 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.8169, allocations: 7.906 kB / 0.9522 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.8169, allocations: 8.438 kB / 0.9522 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.8169, allocations: 0 / 0.9522 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8169, allocations: 1.375 kB / 0.9522 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.8169, allocations: 0 / 0.9522 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.489e-05/0.817, allocations: 152.4 kB / 0.9523 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.817, allocations: 0 / 0.9523 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.8171, allocations: 9.484 kB / 0.9523 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8171, allocations: 0 / 0.9523 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.8171, allocations: 7.938 kB / 0.9523 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8171, allocations: 1.375 kB / 0.9523 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8171, allocations: 3.984 kB / 0.9524 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.8173, allocations: 85.66 kB / 0.9524 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.8173, allocations: 78.48 kB / 0.9525 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.8173, allocations: 3.938 kB / 0.9525 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.8174, allocations: 12.14 kB / 0.9525 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.8174, allocations: 0 / 0.9525 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.8174, allocations: 1.375 kB / 0.9525 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.081e-05/0.8174, allocations: 82.03 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8174, allocations: 0 / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00017/0.8176, allocations: 2.75 kB / 0.9526 GB, free: 5.727 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.0001039/0.8177, allocations: 106.4 kB / 0.9527 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.8179, allocations: 34.47 kB / 0.9527 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8179, allocations: 3.938 kB / 0.9527 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.818, allocations: 13.55 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.8182, allocations: 6.562 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.8185, allocations: 98.97 kB / 0.9529 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.8186, allocations: 0.6754 MB / 0.9535 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.8186, allocations: 1.344 kB / 0.9535 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.8187, allocations: 7.438 kB / 0.9535 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8187, allocations: 0 / 0.9535 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.002234/0.8209, allocations: 341.4 kB / 0.9539 GB, free: 4.609 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