Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 67.89 kB / 0.8694 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6538, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002741/0.6566, allocations: 1.292 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002434/0.6591, allocations: 1.697 MB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.6593, allocations: 4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.346e-05/0.6594, allocations: 27.67 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.6597, allocations: 75.34 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.6613, allocations: 0.645 MB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009534/0.6623, allocations: 0.7877 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.6625, allocations: 68.7 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.6629, allocations: 303.3 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.6632, allocations: 243.1 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.6634, allocations: 72 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.6636, allocations: 83.98 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.6637, allocations: 75.69 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.664, allocations: 263.1 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.6646, allocations: 0.6878 MB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6646, allocations: 0 / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6646, allocations: 0 / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.6647, allocations: 0 / 1.024 GB, free: 12.15 MB / 0.7794 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.001323/0.666, allocations: 0.8709 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.666, allocations: 8.031 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.6661, allocations: 58.66 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.6662, allocations: 44.56 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.6677, allocations: 467.3 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.6678, allocations: 32.36 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.6679, allocations: 48.31 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.6684, allocations: 221.5 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6684, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.6685, allocations: 8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.6685, allocations: 4 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.6688, allocations: 119.9 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.6702, allocations: 0.9725 MB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.6709, allocations: 232.1 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.6712, allocations: 110.5 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.6713, allocations: 4 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.6718, allocations: 289.3 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/0.6718, allocations: 0 / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001116/0.6729, allocations: 457.8 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.673, allocations: 114.7 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.6733, allocations: 262.9 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.101e-05/0.6734, allocations: 49.69 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6735, allocations: 148.9 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.6736, allocations: 110.5 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.6739, allocations: 154 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6741, allocations: 342.8 kB / 1.029 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.6746, allocations: 224.8 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.6753, allocations: 392.6 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.6762, allocations: 0.5705 MB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6762, allocations: 0 / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001522/0.6777, allocations: 0.8417 MB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.6779, allocations: 186.2 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6779, allocations: 11.88 kB / 1.031 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6779, allocations: 4 kB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.6781, allocations: 51.89 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.6781, allocations: 4 kB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.679, allocations: 175.6 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.6791, allocations: 47.95 kB / 1.031 GB, free: 4.051 MB / 0.7794 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.0002145/0.6794, allocations: 175.5 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.6794, allocations: 31.61 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.6795, allocations: 33.81 kB / 1.031 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.6795, allocations: 4 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6795, allocations: 4.188 kB / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6795, allocations: 3.984 kB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6808, allocations: 0.9352 MB / 1.032 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6808, allocations: 4 kB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.681, allocations: 39.97 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.681, allocations: 0 / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.6811, allocations: 15.98 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6811, allocations: 3.938 kB / 1.032 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6811, allocations: 0 / 1.032 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.6822, allocations: 0.7118 MB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.6822, allocations: 104.7 kB / 1.033 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.6823, allocations: 12.03 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.6825, allocations: 19.98 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.6826, allocations: 43.83 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.6826, allocations: 16 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001504/0.6828, allocations: 178 kB / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6828, allocations: 0 / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005112/0.6833, allocations: 116 kB / 1.033 GB, free: 1.508 MB / 0.7794 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.001383/0.6847, allocations: 1.266 MB / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.686, allocations: 0.8515 MB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.686, allocations: 0 / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.6863, allocations: 156.5 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.6871, allocations: 114 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.6931, allocations: 4.263 MB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6935, allocations: 0.7689 MB / 1.041 GB, free: 9.762 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.6937, allocations: 59.27 kB / 1.041 GB, free: 9.703 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.6939, allocations: 111.4 kB / 1.041 GB, free: 9.594 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/0.6939, allocations: 0 / 1.041 GB, free: 9.594 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.7245, allocations: 9.829 MB / 1.05 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.61, allocations: 2.656 kB / 1.05 GB, free: 15.93 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches