Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.002195/0.002195, allocations: 79.86 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.002229/0.002229, allocations: 165.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.566/1.566, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.861/2.861, allocations: 377.8 MB / 0.6221 GB, free: 12.55 MB / 0.5919 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.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramUp.u|ramUp.y|ramUp1.y|ramUp.active|ramUpDow.u|ramUpDow.y|ramUpDow.active|ramUpDow1.u|ramUpDow1.y|ramUpDow1.active",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.9815 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.922e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002367/0.002396, allocations: 1.204 MB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.004848, allocations: 1.727 MB / 0.9844 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.004944, allocations: 0 / 0.9844 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.395e-05/0.005008, allocations: 27.62 kB / 0.9844 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.005232, allocations: 99.27 kB / 0.9845 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.006789, allocations: 0.6428 MB / 0.9851 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.007691, allocations: 0.7719 MB / 0.9859 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.007867, allocations: 48.89 kB / 0.9859 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.00836, allocations: 419.4 kB / 0.9863 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.008776, allocations: 231.3 kB / 0.9865 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.008913, allocations: 75.94 kB / 0.9866 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.009091, allocations: 87.97 kB / 0.9867 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.009178, allocations: 71.75 kB / 0.9868 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.009469, allocations: 215.6 kB / 0.987 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009324/0.0104, allocations: 0.8027 MB / 0.9877 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01041, allocations: 4 kB / 0.9877 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01041, allocations: 0 / 0.9877 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.01041, allocations: 0 / 0.9877 GB, free: 5.438 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001517/0.01193, allocations: 0.8613 MB / 0.9886 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.01197, allocations: 8.031 kB / 0.9886 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.01212, allocations: 56.69 kB / 0.9886 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.01363, allocations: 396.3 kB / 0.989 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.01367, allocations: 36.31 kB / 0.9891 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.01378, allocations: 40.33 kB / 0.9891 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.01434, allocations: 221.4 kB / 0.9893 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.01435, allocations: 4.125 kB / 0.9893 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.01438, allocations: 8.375 kB / 0.9893 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01439, allocations: 8.125 kB / 0.9893 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.01475, allocations: 127.8 kB / 0.9895 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.01601, allocations: 0.793 MB / 0.9902 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.01675, allocations: 220.1 kB / 0.9904 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.01704, allocations: 94.52 kB / 0.9905 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.01706, allocations: 4 kB / 0.9905 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006318/0.0177, allocations: 294.9 kB / 0.9908 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.0177, allocations: 0 / 0.9908 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001275/0.01897, allocations: 458 kB / 0.9912 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.01907, allocations: 114.8 kB / 0.9914 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.01938, allocations: 268.2 kB / 0.9916 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.796e-05/0.01947, allocations: 49.69 kB / 0.9917 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.01966, allocations: 157 kB / 0.9918 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.01978, allocations: 111.2 kB / 0.9919 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.02007, allocations: 158 kB / 0.9921 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.02027, allocations: 342.8 kB / 0.9924 GB, free: 404 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007807/0.02105, allocations: 415.1 kB / 0.9928 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009941/0.02205, allocations: 0.7659 MB / 0.9935 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.02317, allocations: 0.5772 MB / 0.9941 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.02318, allocations: 0 / 0.9941 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001952/0.02513, allocations: 1.029 MB / 0.9951 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.02528, allocations: 186.2 kB / 0.9953 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.02529, allocations: 4 kB / 0.9953 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.02531, allocations: 4.375 kB / 0.9953 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.02557, allocations: 63.83 kB / 0.9954 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.02558, allocations: 4 kB / 0.9954 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.0266, allocations: 179.5 kB / 0.9955 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/0.0267, allocations: 51.95 kB / 0.9956 GB, free: 12.74 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.0002929/0.027, allocations: 175.6 kB / 0.9957 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.02706, allocations: 39.8 kB / 0.9958 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.026e-05/0.02714, allocations: 29.81 kB / 0.9958 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.02716, allocations: 8 kB / 0.9958 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.02717, allocations: 0 / 0.9958 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.02718, allocations: 3.984 kB / 0.9958 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.02863, allocations: 0.8207 MB / 0.9966 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02863, allocations: 4 kB / 0.9966 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.02887, allocations: 39.95 kB / 0.9967 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.02888, allocations: 4 kB / 0.9967 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.02891, allocations: 11.98 kB / 0.9967 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.02892, allocations: 3.938 kB / 0.9967 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.926e-05/0.02902, allocations: 7.938 kB / 0.9967 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.03036, allocations: 0.7115 MB / 0.9974 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.03041, allocations: 39.69 kB / 0.9974 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.03046, allocations: 16.12 kB / 0.9974 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.03071, allocations: 15.92 kB / 0.9975 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.03079, allocations: 35.94 kB / 0.9975 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.03083, allocations: 15.98 kB / 0.9975 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001985/0.03103, allocations: 187 kB / 0.9977 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.03103, allocations: 4 kB / 0.9977 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000566/0.03159, allocations: 115.9 kB / 0.9978 GB, free: 10.4 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002204/0.03181, allocations: 119.3 kB / 0.9979 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.03337, allocations: 0.94 MB / 0.9988 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.03338, allocations: 4 kB / 0.9988 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.03374, allocations: 135.8 kB / 0.999 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008458/0.03458, allocations: 107.5 kB / 0.9991 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.03584, allocations: 0.5758 MB / 0.9996 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.03604, allocations: 169 kB / 0.9998 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.03624, allocations: 47.28 kB / 0.9998 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.03633, allocations: 40.48 kB / 0.9999 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of SimCode: time 1.162e-06/0.03633, allocations: 0 / 0.9999 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of Templates: time 0.0149/0.05124, allocations: 7.688 MB / 1.007 GB, free: 0.6133 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.602663770318031]