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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_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.008387/0.008387, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001635/0.001635, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.606/2.606, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8311, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003003/0.8341, allocations: 1.287 MB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.8367, allocations: 1.696 MB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.837, allocations: 4 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.913e-05/0.8371, allocations: 27.61 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.8374, allocations: 95.33 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.8389, allocations: 0.6456 MB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008819/0.8398, allocations: 0.7955 MB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.84, allocations: 68.7 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.8404, allocations: 303.2 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.8409, allocations: 275.1 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.8411, allocations: 72 kB / 1.212 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.8412, allocations: 83.92 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.8413, allocations: 75.75 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.8416, allocations: 267 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.8424, allocations: 0.6955 MB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8424, allocations: 4 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8424, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.8425, allocations: 3.984 kB / 1.214 GB, free: 7.188 MB / 0.9356 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.001671/0.8441, allocations: 0.8632 MB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.8442, allocations: 16.03 kB / 1.214 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.227e-05/0.8443, allocations: 46.73 kB / 1.214 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.8445, allocations: 48.56 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.846, allocations: 463.2 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.846, allocations: 28.38 kB / 1.215 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.8462, allocations: 44.38 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.8467, allocations: 224.3 kB / 1.215 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8467, allocations: 0 / 1.215 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.8467, allocations: 8 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.8467, allocations: 4 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.8471, allocations: 119.9 kB / 1.215 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.8485, allocations: 0.9491 MB / 1.216 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.8492, allocations: 232.2 kB / 1.217 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.8495, allocations: 110.5 kB / 1.217 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.8495, allocations: 8 kB / 1.217 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005921/0.8501, allocations: 287.1 kB / 1.217 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.8501, allocations: 0 / 1.217 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001214/0.8514, allocations: 460.1 kB / 1.217 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.8515, allocations: 118.8 kB / 1.217 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.8518, allocations: 262.9 kB / 1.218 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.494e-05/0.8519, allocations: 49.7 kB / 1.218 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.852, allocations: 152.9 kB / 1.218 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.8522, allocations: 106.5 kB / 1.218 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.8525, allocations: 150 kB / 1.218 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.8527, allocations: 350.8 kB / 1.218 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.8532, allocations: 224.8 kB / 1.219 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.8539, allocations: 384.7 kB / 1.219 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.8549, allocations: 0.5732 MB / 1.22 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8549, allocations: 0 / 1.22 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001623/0.8565, allocations: 0.8453 MB / 1.22 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.8567, allocations: 192.1 kB / 1.221 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.8567, allocations: 7.938 kB / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.8567, allocations: 7.938 kB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.8569, allocations: 51.89 kB / 1.221 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.857, allocations: 7.938 kB / 1.221 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/0.8579, allocations: 179.5 kB / 1.221 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/0.858, allocations: 43.97 kB / 1.221 GB, free: 15.11 MB / 0.9512 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.0002571/0.8582, allocations: 175.5 kB / 1.221 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.8583, allocations: 27.62 kB / 1.221 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.175e-05/0.8584, allocations: 41.8 kB / 1.221 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.8584, allocations: 4 kB / 1.221 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.8584, allocations: 4 kB / 1.221 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.8585, allocations: 0 / 1.221 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.8599, allocations: 0.9262 MB / 1.222 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8599, allocations: 4 kB / 1.222 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.8601, allocations: 39.91 kB / 1.222 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.8601, allocations: 0 / 1.222 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.8602, allocations: 15.98 kB / 1.222 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8602, allocations: 4 kB / 1.222 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8602, allocations: 0 / 1.222 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.8613, allocations: 0.7159 MB / 1.223 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.8615, allocations: 108.7 kB / 1.223 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.8615, allocations: 8 kB / 1.223 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.8617, allocations: 11.98 kB / 1.223 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.8618, allocations: 31.95 kB / 1.223 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.8619, allocations: 19.98 kB / 1.223 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001773/0.862, allocations: 182 kB / 1.223 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.862, allocations: 0 / 1.223 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005875/0.8626, allocations: 115.9 kB / 1.223 GB, free: 12.58 MB / 0.9512 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.001568/0.8642, allocations: 1.275 MB / 1.225 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.8657, allocations: 0.8359 MB / 1.225 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8657, allocations: 0 / 1.225 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.866, allocations: 156.2 kB / 1.225 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.8668, allocations: 134.1 kB / 1.226 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.8734, allocations: 4.25 MB / 1.23 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.874, allocations: 0.7689 MB / 1.231 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002424/0.8742, allocations: 55.27 kB / 1.231 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.8744, allocations: 111.4 kB / 1.231 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/0.8744, allocations: 0 / 1.231 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.9084, allocations: 9.907 MB / 1.24 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.288, allocations: 11.83 kB / 1.24 GB, free: 10.93 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches