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.001232/0.001232, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.001334/0.001334, allocations: 177.9 kB / 23.21 MB, free: 1.344 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 0.9037/0.9037, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.771/1.771, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] 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.956e-06/2.956e-06, allocations: 0 / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.141e-05, allocations: 2.281 kB / 0.9823 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001722/0.001754, allocations: 1.204 MB / 0.9834 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.003661, allocations: 1.715 MB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.003771, allocations: 4 kB / 0.9851 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.292e-05/0.003824, allocations: 27.61 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.003999, allocations: 99.16 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.005018, allocations: 0.6539 MB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.005602, allocations: 0.7641 MB / 0.9866 GB, free: 13.53 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.005745, allocations: 48.89 kB / 0.9867 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.006118, allocations: 427.4 kB / 0.9871 GB, free: 13.07 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.006389, allocations: 227.3 kB / 0.9873 GB, free: 12.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/0.00646, allocations: 72 kB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.006574, allocations: 83.98 kB / 0.9874 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.006624, allocations: 79.67 kB / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.00678, allocations: 215.6 kB / 0.9877 GB, free: 12.4 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.007378, allocations: 0.7988 MB / 0.9885 GB, free: 11.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.007381, allocations: 4 kB / 0.9885 GB, free: 11.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/0.007383, allocations: 0 / 0.9885 GB, free: 11.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.007391, allocations: 0 / 0.9885 GB, free: 11.6 MB / 0.948 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.001066/0.008458, allocations: 0.8614 MB / 0.9894 GB, free: 10.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.008496, allocations: 12.03 kB / 0.9894 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.008603, allocations: 48.7 kB / 0.9894 GB, free: 10.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.009384, allocations: 400.2 kB / 0.9898 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.009416, allocations: 36.36 kB / 0.9898 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.009484, allocations: 52.27 kB / 0.9899 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.009793, allocations: 217.9 kB / 0.9901 GB, free: 9.863 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.009805, allocations: 192 / 0.9901 GB, free: 9.863 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.009826, allocations: 8.375 kB / 0.9901 GB, free: 9.855 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.009833, allocations: 8.125 kB / 0.9901 GB, free: 9.848 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.01003, allocations: 127.9 kB / 0.9902 GB, free: 9.723 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.01083, allocations: 0.7813 MB / 0.991 GB, free: 8.902 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.01125, allocations: 220.1 kB / 0.9912 GB, free: 8.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.01139, allocations: 94.53 kB / 0.9913 GB, free: 8.559 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.01141, allocations: 8 kB / 0.9913 GB, free: 8.551 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.01181, allocations: 294.9 kB / 0.9916 GB, free: 8.242 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 1.382e-06/0.01182, allocations: 0 / 0.9916 GB, free: 8.242 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0008577/0.01267, allocations: 462 kB / 0.992 GB, free: 7.785 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.01273, allocations: 110.8 kB / 0.9921 GB, free: 7.652 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.01292, allocations: 264.2 kB / 0.9924 GB, free: 7.387 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.01297, allocations: 45.7 kB / 0.9924 GB, free: 7.336 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01308, allocations: 172.9 kB / 0.9926 GB, free: 7.164 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.01314, allocations: 99.19 kB / 0.9927 GB, free: 7.066 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.01331, allocations: 154.1 kB / 0.9928 GB, free: 6.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.0134, allocations: 346.7 kB / 0.9932 GB, free: 6.562 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.01382, allocations: 411 kB / 0.9935 GB, free: 6.125 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.01432, allocations: 0.7776 MB / 0.9943 GB, free: 5.191 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.01487, allocations: 0.5703 MB / 0.9949 GB, free: 4.543 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01487, allocations: 3.938 kB / 0.9949 GB, free: 4.539 MB / 0.948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001005/0.01588, allocations: 1.036 MB / 0.9959 GB, free: 3.422 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.321e-05/0.01596, allocations: 182.2 kB / 0.9961 GB, free: 3.207 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01597, allocations: 4.375 kB / 0.9961 GB, free: 3.203 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.01599, allocations: 12 kB / 0.9961 GB, free: 3.191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.01611, allocations: 55.84 kB / 0.9961 GB, free: 3.137 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.01612, allocations: 7.984 kB / 0.9961 GB, free: 3.129 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.01658, allocations: 183.5 kB / 0.9963 GB, free: 2.949 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.01664, allocations: 40.05 kB / 0.9963 GB, free: 2.91 MB / 0.948 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.0001599/0.0168, allocations: 175.7 kB / 0.9965 GB, free: 2.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.01683, allocations: 31.81 kB / 0.9965 GB, free: 2.699 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.01689, allocations: 37.8 kB / 0.9966 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.0169, allocations: 8 kB / 0.9966 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.0169, allocations: 0 / 0.9966 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01691, allocations: 7.984 kB / 0.9966 GB, free: 2.645 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.01771, allocations: 0.8198 MB / 0.9974 GB, free: 1.785 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01771, allocations: 4 kB / 0.9974 GB, free: 1.781 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01783, allocations: 47.89 kB / 0.9974 GB, free: 1.734 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01783, allocations: 0 / 0.9974 GB, free: 1.734 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.01785, allocations: 8 kB / 0.9974 GB, free: 1.727 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01785, allocations: 7.984 kB / 0.9975 GB, free: 1.719 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01786, allocations: 7.875 kB / 0.9975 GB, free: 1.711 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.01854, allocations: 0.7237 MB / 0.9982 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.01857, allocations: 27.75 kB / 0.9982 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.0186, allocations: 8 kB / 0.9982 GB, free: 0.9336 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.01873, allocations: 23.95 kB / 0.9982 GB, free: 0.9102 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.01878, allocations: 27.95 kB / 0.9983 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.0188, allocations: 19.98 kB / 0.9983 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002487/0.01904, allocations: 179.1 kB / 0.9984 GB, free: 0.6875 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01904, allocations: 4 kB / 0.9984 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003758/0.01942, allocations: 115.9 kB / 0.9986 GB, free: 0.5703 MB / 0.948 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.0001792/0.0196, allocations: 127 kB / 0.9987 GB, free: 448 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008589/0.02046, allocations: 0.9404 MB / 0.9996 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02046, allocations: 0 / 0.9996 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.02066, allocations: 151.9 kB / 0.9997 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.02116, allocations: 115.9 kB / 0.9999 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.02193, allocations: 0.5971 MB / 1 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.02205, allocations: 169 kB / 1.001 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.02211, allocations: 40.48 kB / 1.001 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of SimCode: time 8.52e-07/0.02211, allocations: 3.938 kB / 1.001 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of Templates: time 0.007109/0.02922, allocations: 5.896 MB / 1.006 GB, free: 8.418 MB / 0.9636 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] "" Variables in the reference:time,ramUp.u,ramUp.y,ramUp1.y,ramUp.active,ramUpDow.u,ramUpDow.y,ramUpDow.active,ramUpDow1.u,ramUpDow1.y,ramUpDow1.active Variables in the result:ramUp.active,ramUp.u,ramUp.y,ramUp1.y,ramUpDow.active,ramUpDow.u,ramUpDow.y,ramUpDow1.active,ramUpDow1.u,ramUpDow1.y,time [Calling sys.exit(0), Time elapsed: 7.3910181093961]