Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008246/0.0008246, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009652/0.0009652, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.022/1.022, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.054/2.054, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.612e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.006033/0.006059, allocations: 0.6674 MB / 0.7608 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.007032, allocations: 0.8362 MB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.00706, allocations: 0.6562 kB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.007084, allocations: 0.5312 kB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.00715, allocations: 3.156 kB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.425e-05/0.007194, allocations: 8 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.007257, allocations: 15.16 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.007296, allocations: 4 kB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.007377, allocations: 14.52 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.007407, allocations: 8.812 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.007422, allocations: 4 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.069e-06/0.007428, allocations: 0 / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.007443, allocations: 6.062 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.007459, allocations: 4.875 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.391e-05/0.007523, allocations: 8.641 kB / 0.7617 GB, free: 5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007526, allocations: 0.75 kB / 0.7617 GB, free: 5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007527, allocations: 0 / 0.7617 GB, free: 5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.007531, allocations: 0.625 kB / 0.7617 GB, free: 5 MB / 0.7136 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.0002841/0.007815, allocations: 229.4 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.007853, allocations: 8.031 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.007874, allocations: 6.672 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.007958, allocations: 106.1 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.007968, allocations: 5.188 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.007977, allocations: 4.359 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.008072, allocations: 48.33 kB / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.008079, allocations: 192 / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.008084, allocations: 384 / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.00809, allocations: 384 / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.008107, allocations: 13.12 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.83e-05/0.008195, allocations: 61.8 kB / 0.7621 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.865e-05/0.008234, allocations: 15.73 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.008249, allocations: 8.859 kB / 0.7621 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.008256, allocations: 4.094 kB / 0.7621 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.008278, allocations: 31.81 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.008279, allocations: 0 / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.977e-05/0.008369, allocations: 33.64 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.008399, allocations: 53.14 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.008459, allocations: 106.7 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.008472, allocations: 32.45 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.008502, allocations: 80.14 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.008525, allocations: 0 / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.008557, allocations: 13.72 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.008648, allocations: 322.8 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.00866, allocations: 0 / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.008668, allocations: 0 / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.008692, allocations: 13.08 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008694, allocations: 0 / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.121e-05/0.008755, allocations: 41.64 kB / 0.7628 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008768, allocations: 4 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.008773, allocations: 3.984 kB / 0.7628 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.008785, allocations: 0 / 0.7628 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.008849, allocations: 9.469 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.008851, allocations: 0 / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.008873, allocations: 4 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.008877, allocations: 0 / 0.7629 GB, free: 3.625 MB / 0.7136 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 6.025e-05/0.008938, allocations: 110.4 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.008946, allocations: 6.016 kB / 0.763 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.008962, allocations: 8.359 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.008964, allocations: 0 / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.008966, allocations: 0 / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008968, allocations: 0 / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.543e-05/0.009034, allocations: 69.78 kB / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009035, allocations: 2.438 kB / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.009061, allocations: 7.984 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009063, allocations: 0 / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-06/0.009067, allocations: 0 / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.009069, allocations: 3.938 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00907, allocations: 0 / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.148e-05/0.009142, allocations: 64.28 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.00915, allocations: 7.938 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.009159, allocations: 0 / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.009175, allocations: 4 kB / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.0092, allocations: 0 / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.009203, allocations: 0 / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.748e-05/0.009221, allocations: 22.03 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.009221, allocations: 0 / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001672/0.009388, allocations: 4 kB / 0.7632 GB, free: 3.285 MB / 0.7136 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 9.513e-05/0.009483, allocations: 84.36 kB / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.582e-05/0.009539, allocations: 12.8 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.009541, allocations: 0 / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.009554, allocations: 4.859 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.009655, allocations: 7.938 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.009864, allocations: 100.1 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.009895, allocations: 55.34 kB / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.009911, allocations: 0 / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.009954, allocations: 51.38 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/0.009955, allocations: 1.438 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of Templates: time 0.00531/0.01527, allocations: 431.4 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.220866193063557]