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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001082/0.001082, allocations: 108.9 kB / 16.37 MB, free: 6.016 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.001129/0.001129, allocations: 197.2 kB / 17.31 MB, free: 5.613 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 64.89 kB / 0.8141 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 140.4 MB / 0.9512 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.002664/0.3496, allocations: 0.6076 MB / 0.9518 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3507, allocations: 0.7846 MB / 0.9525 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3508, allocations: 4 kB / 0.9525 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.3508, allocations: 4 kB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.3509, allocations: 3.938 kB / 0.9525 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.298e-05/0.351, allocations: 3.984 kB / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.3511, allocations: 15.94 kB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.199e-05/0.3512, allocations: 4 kB / 0.9526 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.3513, allocations: 7.984 kB / 0.9526 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.3513, allocations: 7.938 kB / 0.9526 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3513, allocations: 7.938 kB / 0.9526 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.3514, allocations: 0 / 0.9526 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.3514, allocations: 11.97 kB / 0.9526 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.3514, allocations: 11.94 kB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.3515, allocations: 7.984 kB / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3515, allocations: 7.984 kB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3515, allocations: 0 / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3515, allocations: 0 / 0.9526 GB, free: 6.559 MB / 0.7325 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.0005625/0.3521, allocations: 327.5 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.3522, allocations: 8.031 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.3522, allocations: 4.938 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3524, allocations: 176.2 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3524, allocations: 384 / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3525, allocations: 384 / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3527, allocations: 46.19 kB / 0.9531 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3527, allocations: 192 / 0.9531 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3527, allocations: 7.875 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3527, allocations: 0 / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3529, allocations: 35.95 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.3531, allocations: 153.7 kB / 0.9533 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3532, allocations: 26.59 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.3533, allocations: 27.02 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3533, allocations: 3.938 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3534, allocations: 38.55 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3534, allocations: 0 / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003391/0.3537, allocations: 77.58 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3538, allocations: 51.41 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.3539, allocations: 101.8 kB / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3539, allocations: 25.7 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.3539, allocations: 84.27 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.354, allocations: 4 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.354, allocations: 9.719 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3542, allocations: 314.8 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.3543, allocations: 19.91 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.3544, allocations: 11.98 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3545, allocations: 40.89 kB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3545, allocations: 0 / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001767/0.3547, allocations: 61.66 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3547, allocations: 4 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.3547, allocations: 3.938 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3548, allocations: 0 / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.3549, allocations: 12.02 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3549, allocations: 3.938 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.3549, allocations: 4 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3549, allocations: 0 / 0.9542 GB, free: 4.684 MB / 0.7325 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.764e-05/0.355, allocations: 116.8 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3551, allocations: 7.906 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.3551, allocations: 11.05 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3551, allocations: 0 / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3551, allocations: 4 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3551, allocations: 4 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3553, allocations: 149.7 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3553, allocations: 3.938 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.3553, allocations: 11.98 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3554, allocations: 0 / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3554, allocations: 3.938 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3554, allocations: 4 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3554, allocations: 0 / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.3556, allocations: 85.09 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3557, allocations: 77.11 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3557, allocations: 7.938 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.3557, allocations: 3.984 kB / 0.9547 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3558, allocations: 4 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3558, allocations: 3.938 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.3558, allocations: 87.31 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3558, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001818/0.356, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 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.0001552/0.3562, allocations: 99.25 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3564, allocations: 35.95 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3564, allocations: 0 / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3566, allocations: 16.05 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3568, allocations: 4 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.3572, allocations: 95.81 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3575, allocations: 0.6804 MB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.3575, allocations: 3.938 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.3576, allocations: 11.44 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.3576, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of Templates: time 0.00303/0.3606, allocations: 412.2 kB / 0.9561 GB, free: 2.617 MB / 0.7325 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 -s gbode -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