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.006995/0.006995, allocations: 100.5 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.296/2.296, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 59.91 kB / 1.018 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6177, allocations: 151.6 MB / 1.166 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002104/0.6199, allocations: 1.308 MB / 1.168 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.6218, allocations: 1.693 MB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.6219, allocations: 4 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.384e-05/0.622, allocations: 27.61 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.6221, allocations: 79.36 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.6234, allocations: 0.6445 MB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007469/0.6242, allocations: 0.7955 MB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.6243, allocations: 68.7 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.6246, allocations: 307.3 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.625, allocations: 271.1 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.6251, allocations: 72 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.6252, allocations: 87.92 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.6253, allocations: 79.73 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.6256, allocations: 259.1 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.6262, allocations: 0.6932 MB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6262, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6262, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.6262, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 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.001217/0.6275, allocations: 0.8748 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.6275, allocations: 12.62 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.6276, allocations: 50.72 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.6277, allocations: 48.75 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.6289, allocations: 459.5 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.629, allocations: 40.22 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.6291, allocations: 44.38 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.6295, allocations: 221.8 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6295, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.6296, allocations: 11.94 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6296, allocations: 4 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.6299, allocations: 123.9 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.631, allocations: 0.9532 MB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.6317, allocations: 228.1 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.6319, allocations: 102.5 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.632, allocations: 11.92 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.6325, allocations: 295.2 kB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 1.412e-06/0.6325, allocations: 0 / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001077/0.6336, allocations: 452.8 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.6337, allocations: 118.8 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.6339, allocations: 262.9 kB / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.634, allocations: 57.69 kB / 1.177 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.6341, allocations: 153 kB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.6342, allocations: 107.2 kB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.6345, allocations: 150 kB / 1.177 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6346, allocations: 342.8 kB / 1.177 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.6351, allocations: 228.8 kB / 1.178 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.6358, allocations: 388.5 kB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/0.6367, allocations: 0.5753 MB / 1.179 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6367, allocations: 0 / 1.179 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001483/0.6382, allocations: 0.8541 MB / 1.179 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.6383, allocations: 182.2 kB / 1.18 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6383, allocations: 7.938 kB / 1.18 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6383, allocations: 4 kB / 1.18 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.6385, allocations: 60.27 kB / 1.18 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6386, allocations: 7.938 kB / 1.18 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008462/0.6394, allocations: 175.6 kB / 1.18 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.6395, allocations: 43.97 kB / 1.18 GB, free: 5.406 MB / 0.9044 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.0001751/0.6397, allocations: 171.5 kB / 1.18 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.6397, allocations: 35.77 kB / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.6398, allocations: 41.8 kB / 1.18 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6398, allocations: 4 kB / 1.18 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6398, allocations: 4 kB / 1.18 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.6398, allocations: 4.172 kB / 1.18 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.6411, allocations: 0.9224 MB / 1.181 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6411, allocations: 11.92 kB / 1.181 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.6413, allocations: 43.91 kB / 1.181 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6413, allocations: 0 / 1.181 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.6413, allocations: 15.98 kB / 1.181 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-06/0.6414, allocations: 0 / 1.181 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6414, allocations: 0 / 1.181 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.6425, allocations: 0.72 MB / 1.182 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.6425, allocations: 100.9 kB / 1.182 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.6426, allocations: 16.03 kB / 1.182 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.6428, allocations: 11.98 kB / 1.182 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.6429, allocations: 27.97 kB / 1.182 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.6429, allocations: 19.98 kB / 1.182 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001614/0.6431, allocations: 182 kB / 1.182 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6431, allocations: 0 / 1.182 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004549/0.6435, allocations: 111.9 kB / 1.182 GB, free: 2.871 MB / 0.9044 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.001425/0.645, allocations: 1.276 MB / 1.183 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.6462, allocations: 0.837 MB / 1.184 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6462, allocations: 4.062 kB / 1.184 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.6465, allocations: 159.8 kB / 1.184 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.6472, allocations: 109.8 kB / 1.185 GB, free: 392 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.6528, allocations: 4.266 MB / 1.189 GB, free: 11.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.6532, allocations: 0.7728 MB / 1.189 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.6533, allocations: 55.44 kB / 1.19 GB, free: 11.06 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.6535, allocations: 111.4 kB / 1.19 GB, free: 10.95 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.6535, allocations: 4 kB / 1.19 GB, free: 10.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9771/1.631, allocations: 9.902 MB / 1.199 GB, free: 1.211 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.597/11.23, allocations: 14.69 kB / 1.199 GB, free: 1.199 MB / 0.92 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=400 --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