Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002371/0.002371, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 496.2 MB / 0.7819 GB, free: 12.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.89 kB / 1.136 GB, free: 12.32 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242/1.244, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002401/1.247, allocations: 1.298 MB / 1.307 GB, free: 32.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002833/1.249, allocations: 1.707 MB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/1.25, allocations: 2.812 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.398e-05/1.25, allocations: 26.95 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002694/1.25, allocations: 88.75 kB / 1.309 GB, free: 31.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/1.252, allocations: 0.6502 MB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009557/1.253, allocations: 0.756 MB / 1.31 GB, free: 30.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/1.253, allocations: 52.05 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/1.253, allocations: 301 kB / 1.31 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/1.254, allocations: 279.7 kB / 1.311 GB, free: 30.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/1.254, allocations: 72.69 kB / 1.311 GB, free: 30.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/1.254, allocations: 80.44 kB / 1.311 GB, free: 30.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/1.254, allocations: 79.09 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/1.254, allocations: 265.5 kB / 1.311 GB, free: 30.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000687/1.255, allocations: 0.6905 MB / 1.312 GB, free: 29.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.255, allocations: 4 kB / 1.312 GB, free: 29.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/1.255, allocations: 0 / 1.312 GB, free: 29.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.255, allocations: 6.656 kB / 1.312 GB, free: 29.8 MB / 1.061 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.001342/1.257, allocations: 0.8824 MB / 1.313 GB, free: 29.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.257, allocations: 15.3 kB / 1.313 GB, free: 29.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/1.257, allocations: 52.97 kB / 1.313 GB, free: 29.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.258, allocations: 459.8 kB / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/1.258, allocations: 27.84 kB / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.258, allocations: 48.62 kB / 1.313 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/1.259, allocations: 206.9 kB / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/1.259, allocations: 7.938 kB / 1.313 GB, free: 28.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/1.259, allocations: 10.47 kB / 1.313 GB, free: 28.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/1.259, allocations: 5.5 kB / 1.313 GB, free: 28.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/1.259, allocations: 116.7 kB / 1.313 GB, free: 28.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/1.26, allocations: 0.9592 MB / 1.314 GB, free: 27.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/1.261, allocations: 221.6 kB / 1.315 GB, free: 27.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/1.261, allocations: 97.8 kB / 1.315 GB, free: 27.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/1.261, allocations: 10.09 kB / 1.315 GB, free: 27.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/1.261, allocations: 291.7 kB / 1.315 GB, free: 27.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.423e-06/1.261, allocations: 0 / 1.315 GB, free: 27.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001016/1.262, allocations: 465.9 kB / 1.315 GB, free: 27.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.263, allocations: 112.5 kB / 1.316 GB, free: 27.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/1.263, allocations: 264.5 kB / 1.316 GB, free: 27.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/1.263, allocations: 48.34 kB / 1.316 GB, free: 27.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.263, allocations: 161.4 kB / 1.316 GB, free: 27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/1.263, allocations: 99.12 kB / 1.316 GB, free: 26.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/1.263, allocations: 157.3 kB / 1.316 GB, free: 26.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/1.263, allocations: 342.2 kB / 1.317 GB, free: 26.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/1.264, allocations: 227.8 kB / 1.317 GB, free: 26.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/1.264, allocations: 384.7 kB / 1.317 GB, free: 26.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/1.265, allocations: 0.5832 MB / 1.318 GB, free: 25.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.265, allocations: 6.938 kB / 1.318 GB, free: 25.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001512/1.267, allocations: 0.8427 MB / 1.319 GB, free: 25.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.725e-05/1.267, allocations: 189.7 kB / 1.319 GB, free: 25.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.267, allocations: 6.656 kB / 1.319 GB, free: 25.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/1.267, allocations: 9.25 kB / 1.319 GB, free: 25.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/1.267, allocations: 49.25 kB / 1.319 GB, free: 25.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.267, allocations: 5.625 kB / 1.319 GB, free: 25.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/1.268, allocations: 176 kB / 1.319 GB, free: 25.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/1.268, allocations: 52.53 kB / 1.319 GB, free: 25.07 MB / 1.061 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.0002109/1.268, allocations: 177.7 kB / 1.319 GB, free: 24.92 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/1.268, allocations: 35.33 kB / 1.319 GB, free: 24.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.438e-05/1.268, allocations: 34.66 kB / 1.319 GB, free: 24.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.268, allocations: 5.469 kB / 1.319 GB, free: 24.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.268, allocations: 0 / 1.319 GB, free: 24.87 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.268, allocations: 5.797 kB / 1.319 GB, free: 24.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/1.269, allocations: 0.9287 MB / 1.32 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.269, allocations: 0 / 1.32 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/1.27, allocations: 44.44 kB / 1.32 GB, free: 24.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.27, allocations: 2.625 kB / 1.32 GB, free: 24.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/1.27, allocations: 12.48 kB / 1.32 GB, free: 24.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.27, allocations: 2.625 kB / 1.32 GB, free: 24.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.27, allocations: 4 kB / 1.32 GB, free: 24.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/1.271, allocations: 0.7148 MB / 1.321 GB, free: 23.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/1.271, allocations: 110.7 kB / 1.321 GB, free: 23.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/1.271, allocations: 6.625 kB / 1.321 GB, free: 23.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/1.271, allocations: 20.31 kB / 1.321 GB, free: 23.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/1.271, allocations: 30.42 kB / 1.321 GB, free: 23.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/1.271, allocations: 17.78 kB / 1.321 GB, free: 23.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001305/1.271, allocations: 180.6 kB / 1.321 GB, free: 23.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.271, allocations: 0 / 1.321 GB, free: 23.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005475/1.272, allocations: 122.4 kB / 1.321 GB, free: 23.51 MB / 1.061 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.000206/1.272, allocations: 129.5 kB / 1.321 GB, free: 23.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.273, allocations: 0.7569 MB / 1.322 GB, free: 22.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.273, allocations: 2.281 kB / 1.322 GB, free: 22.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/1.273, allocations: 139.3 kB / 1.322 GB, free: 22.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/1.274, allocations: 121.3 kB / 1.322 GB, free: 22.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/1.275, allocations: 0.6108 MB / 1.323 GB, free: 22.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/1.275, allocations: 0.7727 MB / 1.324 GB, free: 21.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002249/1.276, allocations: 54.98 kB / 1.324 GB, free: 21.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/1.276, allocations: 38.38 kB / 1.324 GB, free: 21.71 MB / 1.061 GB Notification: Performance of SimCode: time 7.92e-07/1.276, allocations: 0 / 1.324 GB, free: 21.71 MB / 1.061 GB Notification: Performance of Templates: time 0.019/1.295, allocations: 7.095 MB / 1.331 GB, free: 21.16 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.296865625306964]