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.001874/0.001874, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002191/0.002191, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 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.486/1.486, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.892/2.892, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.785e-06/2.785e-06, allocations: 0 / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.477e-05/3.755e-05, allocations: 3.25 kB / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002041/0.002079, allocations: 0.6042 MB / 0.8114 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.003324, allocations: 0.8166 MB / 0.8122 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.003355, allocations: 0 / 0.8122 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.003387, allocations: 0.875 kB / 0.8122 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.003454, allocations: 0 / 0.8122 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.549e-05/0.00351, allocations: 9.016 kB / 0.8123 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.843e-05/0.003588, allocations: 15.94 kB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.003637, allocations: 4 kB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.003727, allocations: 13.61 kB / 0.8123 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.00376, allocations: 0 / 0.8123 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.003781, allocations: 4 kB / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-06/0.003787, allocations: 0 / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.003805, allocations: 7.922 kB / 0.8123 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.003832, allocations: 9.469 kB / 0.8123 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.301e-05/0.003925, allocations: 23.89 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003928, allocations: 0 / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003929, allocations: 0 / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.003934, allocations: 5.75 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 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.0004843/0.004418, allocations: 254.4 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.004461, allocations: 8.031 kB / 0.8126 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.004506, allocations: 4.891 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.004633, allocations: 107 kB / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.004645, allocations: 384 / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.004653, allocations: 384 / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.004849, allocations: 47.56 kB / 0.8127 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.00486, allocations: 4.172 kB / 0.8127 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.00487, allocations: 2.5 kB / 0.8127 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.004875, allocations: 384 / 0.8127 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.00504, allocations: 35.84 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.005226, allocations: 101.4 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.005358, allocations: 35.08 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.005451, allocations: 17.62 kB / 0.8129 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.005465, allocations: 4.438 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.005503, allocations: 36.12 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.005504, allocations: 0 / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0003843/0.005888, allocations: 79.14 kB / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.00594, allocations: 55.41 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.006041, allocations: 97.8 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.006063, allocations: 26.42 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.006118, allocations: 84.14 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.006145, allocations: 8.547 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.006184, allocations: 15.08 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.006359, allocations: 310.8 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-05/0.00645, allocations: 15.98 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.006526, allocations: 16.8 kB / 0.8136 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.006704, allocations: 38.97 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006706, allocations: 0 / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000209/0.006915, allocations: 62.58 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.00693, allocations: 4 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.006935, allocations: 2.312 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.006953, allocations: 0 / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.007045, allocations: 11.98 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.00705, allocations: 0 / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.007103, allocations: 11.92 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.007108, allocations: 3.406 kB / 0.8138 GB, free: 14.93 MB / 0.7761 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 8.771e-05/0.007196, allocations: 105.8 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.007205, allocations: 0 / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.007223, allocations: 7.344 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.007227, allocations: 3.984 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.007231, allocations: 0 / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.007237, allocations: 3.938 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.007343, allocations: 105.3 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007344, allocations: 0 / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.007402, allocations: 8.922 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007404, allocations: 0 / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.00741, allocations: 0.5 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007411, allocations: 0.5625 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.007415, allocations: 4 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.007662, allocations: 90.64 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.007674, allocations: 7.938 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.007688, allocations: 4.781 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.007731, allocations: 0 / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.007775, allocations: 9.078 kB / 0.8141 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.00778, allocations: 4 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.007838, allocations: 83.28 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007838, allocations: 0.6562 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001956/0.008034, allocations: 4.562 kB / 0.8142 GB, free: 14.44 MB / 0.7761 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.0001298/0.008163, allocations: 96.34 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.008391, allocations: 43.86 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008392, allocations: 0 / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.008478, allocations: 11.98 kB / 0.8143 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.008737, allocations: 8 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.009135, allocations: 88.89 kB / 0.8144 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.0092, allocations: 59.22 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.009227, allocations: 4.922 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.009262, allocations: 12.5 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.009263, allocations: 1.031 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.002957/0.01222, allocations: 464.8 kB / 0.815 GB, free: 13.63 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.922652016975917]