Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001449/0.001449, allocations: 81.06 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001761/0.001761, allocations: 167.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.744/2.744, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.947e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001749/0.001788, allocations: 0.6101 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003051, allocations: 0.8082 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.003087, allocations: 0 / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.003119, allocations: 3.938 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.003196, allocations: 0 / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.779e-05/0.003254, allocations: 8 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.003329, allocations: 15.92 kB / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.191e-05/0.003391, allocations: 7.984 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.003479, allocations: 15.92 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.00352, allocations: 0 / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.00354, allocations: 8 kB / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-06/0.003546, allocations: 0 / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.003564, allocations: 4 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.003592, allocations: 3.984 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.212e-05/0.003674, allocations: 15.92 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.003679, allocations: 3.984 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00368, allocations: 0 / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003684, allocations: 4 kB / 0.9525 GB, free: 9.996 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.0004939/0.004178, allocations: 258.3 kB / 0.9527 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.004239, allocations: 8.031 kB / 0.9527 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.004281, allocations: 4.938 kB / 0.9527 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.004464, allocations: 109.8 kB / 0.9528 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.004484, allocations: 8.297 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.004497, allocations: 384 / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.004729, allocations: 42.25 kB / 0.9529 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.004743, allocations: 192 / 0.9529 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.004756, allocations: 4.375 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004762, allocations: 384 / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.004939, allocations: 39.89 kB / 0.9529 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.005178, allocations: 101.3 kB / 0.953 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.005313, allocations: 34.5 kB / 0.9531 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.005407, allocations: 20.89 kB / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.005421, allocations: 0 / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.005456, allocations: 34.56 kB / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.005457, allocations: 3.938 kB / 0.9531 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003747/0.005832, allocations: 73.66 kB / 0.9532 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.005896, allocations: 59.39 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.006009, allocations: 97.8 kB / 0.9533 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.00603, allocations: 25.7 kB / 0.9534 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.006088, allocations: 84.14 kB / 0.9535 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.006122, allocations: 0 / 0.9535 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.006156, allocations: 17.66 kB / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.006344, allocations: 314.8 kB / 0.9538 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.006448, allocations: 20.11 kB / 0.9538 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.006519, allocations: 11.98 kB / 0.9538 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.006679, allocations: 36.83 kB / 0.9538 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006681, allocations: 0 / 0.9538 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001963/0.006877, allocations: 61.66 kB / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.006897, allocations: 8.094 kB / 0.9539 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.006903, allocations: 0 / 0.9539 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.00692, allocations: 0 / 0.9539 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.007015, allocations: 7.984 kB / 0.9539 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.007023, allocations: 3.938 kB / 0.9539 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.00707, allocations: 7.938 kB / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007077, allocations: 3.938 kB / 0.9539 GB, free: 8.348 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 0.0002037/0.007281, allocations: 113.8 kB / 0.954 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.007291, allocations: 3.953 kB / 0.954 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.007323, allocations: 11.16 kB / 0.954 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.007327, allocations: 4 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.007337, allocations: 4 kB / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.007344, allocations: 3.938 kB / 0.9541 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.007457, allocations: 101.3 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007458, allocations: 0 / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.007509, allocations: 4 kB / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007511, allocations: 0 / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.00752, allocations: 0 / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007521, allocations: 0 / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007521, allocations: 0 / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.007748, allocations: 93.03 kB / 0.9542 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.007755, allocations: 0 / 0.9542 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.007767, allocations: 0 / 0.9542 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.007814, allocations: 11.92 kB / 0.9543 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.007861, allocations: 4 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.007863, allocations: 0 / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.00792, allocations: 87.44 kB / 0.9543 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.00792, allocations: 0 / 0.9543 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001788/0.008099, allocations: 15.91 kB / 0.9544 GB, free: 7.84 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.0001555/0.008254, allocations: 95.25 kB / 0.9545 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.008498, allocations: 27.97 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.0085, allocations: 0 / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.008589, allocations: 23.97 kB / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.008845, allocations: 4.125 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.00918, allocations: 96.91 kB / 0.9546 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.295e-05/0.009243, allocations: 55.36 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.434e-05/0.009268, allocations: 0 / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.009304, allocations: 12.5 kB / 0.9547 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.009304, allocations: 0 / 0.9547 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of Templates: time 0.002997/0.0123, allocations: 463.4 kB / 0.9551 GB, free: 7.031 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.005724232643843]