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.0008623/0.0008623, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008635/0.0008635, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.714/1.714, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.171e-05, allocations: 2.281 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001972/0.002004, allocations: 1.212 MB / 0.9822 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.003809, allocations: 1.715 MB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.003917, allocations: 4 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.003968, allocations: 23.67 kB / 0.9839 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.004179, allocations: 99.27 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.005362, allocations: 0.659 MB / 0.9847 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006211/0.005983, allocations: 0.7602 MB / 0.9854 GB, free: 14.06 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.006135, allocations: 52.84 kB / 0.9854 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.006497, allocations: 431.3 kB / 0.9859 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.00675, allocations: 219.5 kB / 0.9861 GB, free: 13.37 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.707e-05/0.006827, allocations: 72 kB / 0.9861 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.006951, allocations: 87.92 kB / 0.9862 GB, free: 13.21 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.007012, allocations: 75.73 kB / 0.9863 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.007172, allocations: 215.6 kB / 0.9865 GB, free: 12.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.007751, allocations: 0.8027 MB / 0.9873 GB, free: 12.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.007753, allocations: 0 / 0.9873 GB, free: 12.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.422e-06/0.007754, allocations: 0 / 0.9873 GB, free: 12.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.007761, allocations: 4 kB / 0.9873 GB, free: 12.12 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.001065/0.008827, allocations: 0.8613 MB / 0.9881 GB, free: 11.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.008867, allocations: 12.03 kB / 0.9881 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.00891, allocations: 50.72 kB / 0.9882 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.009022, allocations: 52.7 kB / 0.9882 GB, free: 11.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008061/0.009828, allocations: 392.3 kB / 0.9886 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.009859, allocations: 40.36 kB / 0.9886 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.466e-05/0.009934, allocations: 44.38 kB / 0.9887 GB, free: 10.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.01024, allocations: 222 kB / 0.9889 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01025, allocations: 4.125 kB / 0.9889 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.01026, allocations: 8.312 kB / 0.9889 GB, free: 10.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01027, allocations: 7.938 kB / 0.9889 GB, free: 10.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.01047, allocations: 123.8 kB / 0.989 GB, free: 10.19 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008256/0.01129, allocations: 0.8237 MB / 0.9898 GB, free: 9.316 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.01169, allocations: 220.2 kB / 0.9901 GB, free: 9.074 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.01183, allocations: 98.47 kB / 0.9901 GB, free: 8.969 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.01185, allocations: 7.984 kB / 0.9902 GB, free: 8.961 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.01228, allocations: 291 kB / 0.9904 GB, free: 8.656 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.01228, allocations: 0 / 0.9904 GB, free: 8.656 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.000688/0.01297, allocations: 456.1 kB / 0.9909 GB, free: 8.207 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.01302, allocations: 114.8 kB / 0.991 GB, free: 8.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.0132, allocations: 272.1 kB / 0.9912 GB, free: 7.797 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.01325, allocations: 45.7 kB / 0.9913 GB, free: 7.746 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.01335, allocations: 165 kB / 0.9914 GB, free: 7.582 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.01341, allocations: 95.19 kB / 0.9915 GB, free: 7.488 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.01374, allocations: 154.1 kB / 0.9917 GB, free: 7.332 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01386, allocations: 346.8 kB / 0.992 GB, free: 6.984 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.01438, allocations: 407 kB / 0.9924 GB, free: 6.551 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.01495, allocations: 0.7737 MB / 0.9931 GB, free: 5.621 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.01556, allocations: 0.5826 MB / 0.9937 GB, free: 4.957 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.01557, allocations: 0 / 0.9937 GB, free: 4.957 MB / 0.948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001095/0.01666, allocations: 1.037 MB / 0.9947 GB, free: 3.844 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.01675, allocations: 186.2 kB / 0.9949 GB, free: 3.625 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.01676, allocations: 4 kB / 0.9949 GB, free: 3.621 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.01679, allocations: 4.375 kB / 0.9949 GB, free: 3.617 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.01692, allocations: 51.91 kB / 0.995 GB, free: 3.566 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.01693, allocations: 19.86 kB / 0.995 GB, free: 3.547 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.01742, allocations: 179.5 kB / 0.9952 GB, free: 3.371 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.01748, allocations: 39.97 kB / 0.9952 GB, free: 3.332 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.0001815/0.01766, allocations: 171.8 kB / 0.9954 GB, free: 3.156 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.0177, allocations: 31.81 kB / 0.9954 GB, free: 3.125 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.01776, allocations: 41.78 kB / 0.9954 GB, free: 3.082 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.01777, allocations: 4 kB / 0.9954 GB, free: 3.078 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.01778, allocations: 3.938 kB / 0.9954 GB, free: 3.074 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.01778, allocations: 3.984 kB / 0.9954 GB, free: 3.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.01867, allocations: 0.8592 MB / 0.9963 GB, free: 2.156 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01867, allocations: 4 kB / 0.9963 GB, free: 2.152 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.0188, allocations: 47.89 kB / 0.9963 GB, free: 2.105 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01881, allocations: 3.938 kB / 0.9963 GB, free: 2.102 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.01883, allocations: 16.17 kB / 0.9963 GB, free: 2.086 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01883, allocations: 8 kB / 0.9964 GB, free: 2.078 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01883, allocations: 4.016 kB / 0.9964 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.01955, allocations: 0.7133 MB / 0.9971 GB, free: 1.344 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.01958, allocations: 31.69 kB / 0.9971 GB, free: 1.312 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.01961, allocations: 15.97 kB / 0.9971 GB, free: 1.297 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.01974, allocations: 15.98 kB / 0.9971 GB, free: 1.281 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.0198, allocations: 27.95 kB / 0.9971 GB, free: 1.254 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.01982, allocations: 19.98 kB / 0.9972 GB, free: 1.234 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001162/0.01993, allocations: 183.1 kB / 0.9973 GB, free: 1.055 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01993, allocations: 0 / 0.9973 GB, free: 1.055 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003669/0.0203, allocations: 116 kB / 0.9974 GB, free: 0.9414 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.0009579/0.02126, allocations: 1.261 MB / 0.9987 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000882/0.02214, allocations: 0.9496 MB / 0.9996 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.02214, allocations: 4 kB / 0.9996 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.02233, allocations: 152.4 kB / 0.9998 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.02283, allocations: 104 kB / 0.9999 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.02757, allocations: 4.987 MB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.0277, allocations: 169 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001698/0.02787, allocations: 51.45 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.02799, allocations: 120.4 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/0.02799, allocations: 4 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.0594, allocations: 11.5 MB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.036, allocations: 9.469 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] 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: 11.09451605193317]