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.008464/0.008464, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.002136/0.002136, allocations: 196.6 kB / 16.68 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.47/2.47, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001516, allocations: 68.12 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9127/0.9142, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.00273/0.917, allocations: 1.297 MB / 1.167 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.9196, allocations: 1.705 MB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.9199, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.084e-05/0.92, allocations: 27.61 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.9204, allocations: 91.33 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.9221, allocations: 0.6463 MB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.9233, allocations: 0.7993 MB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.9235, allocations: 72.69 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.924, allocations: 295.3 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.9246, allocations: 275.1 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.9248, allocations: 72 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.925, allocations: 87.92 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.9251, allocations: 83.73 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.9255, allocations: 255.1 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009104/0.9264, allocations: 0.6967 MB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9265, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9265, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.9265, allocations: 0 / 1.172 GB, free: 13.35 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.001712/0.9282, allocations: 0.8709 MB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.9283, allocations: 12.91 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.543e-05/0.9283, allocations: 54.73 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.9285, allocations: 44.75 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.93, allocations: 463.5 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.9301, allocations: 32.23 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.9302, allocations: 44.38 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.9307, allocations: 221.5 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.9308, allocations: 3.938 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.9308, allocations: 8 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.9308, allocations: 4 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.9312, allocations: 119.9 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.9327, allocations: 0.9609 MB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.9334, allocations: 228.2 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.9337, allocations: 110.5 kB / 1.176 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.9338, allocations: 4 kB / 1.176 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/0.9344, allocations: 295.2 kB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 3.196e-06/0.9344, allocations: 0 / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001277/0.9357, allocations: 457.8 kB / 1.176 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.9358, allocations: 110.8 kB / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.9361, allocations: 266.9 kB / 1.177 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.9362, allocations: 45.7 kB / 1.177 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.9364, allocations: 157 kB / 1.177 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.9366, allocations: 111.2 kB / 1.177 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.937, allocations: 154 kB / 1.177 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.9372, allocations: 342.8 kB / 1.177 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.9378, allocations: 224.9 kB / 1.178 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.9386, allocations: 388.5 kB / 1.178 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.9397, allocations: 0.5739 MB / 1.179 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.9397, allocations: 11.94 kB / 1.179 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002002/0.9417, allocations: 0.8459 MB / 1.179 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.9418, allocations: 182.2 kB / 1.18 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.9419, allocations: 7.938 kB / 1.18 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.9419, allocations: 8 kB / 1.18 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.9421, allocations: 55.89 kB / 1.18 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.9422, allocations: 7.938 kB / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/0.9432, allocations: 171.7 kB / 1.18 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/0.9433, allocations: 47.95 kB / 1.18 GB, free: 5.246 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.0002473/0.9435, allocations: 171.5 kB / 1.18 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.9436, allocations: 39.75 kB / 1.18 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.9437, allocations: 37.75 kB / 1.18 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.9437, allocations: 7.984 kB / 1.18 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.9437, allocations: 0 / 1.18 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.9437, allocations: 0 / 1.18 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.9454, allocations: 0.9303 MB / 1.181 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.9454, allocations: 0 / 1.181 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.9456, allocations: 43.91 kB / 1.181 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.9457, allocations: 8 kB / 1.181 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.9457, allocations: 12.17 kB / 1.181 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9457, allocations: 4 kB / 1.181 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9457, allocations: 3.938 kB / 1.181 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.947, allocations: 0.7122 MB / 1.182 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.9471, allocations: 113 kB / 1.182 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.9472, allocations: 4 kB / 1.182 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.9474, allocations: 15.98 kB / 1.182 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.9475, allocations: 35.89 kB / 1.182 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.9475, allocations: 19.98 kB / 1.182 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001852/0.9477, allocations: 178 kB / 1.182 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9477, allocations: 0 / 1.182 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006094/0.9483, allocations: 112 kB / 1.182 GB, free: 2.707 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.001939/0.9503, allocations: 1.28 MB / 1.183 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.9519, allocations: 0.8326 MB / 1.184 GB, free: 500 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9519, allocations: 0 / 1.184 GB, free: 500 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.9523, allocations: 152.5 kB / 1.184 GB, free: 348 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.9531, allocations: 113.8 kB / 1.185 GB, free: 232 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.9599, allocations: 4.274 MB / 1.189 GB, free: 11.76 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.9604, allocations: 0.7689 MB / 1.189 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.9606, allocations: 63.44 kB / 1.189 GB, free: 10.9 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.9608, allocations: 111.4 kB / 1.19 GB, free: 10.79 MB / 0.92 GB Notification: Performance of SimCode: time 7.41e-07/0.9608, allocations: 0 / 1.19 GB, free: 10.79 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.9935, allocations: 9.906 MB / 1.199 GB, free: 1.047 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/9.312, allocations: 6.25 kB / 1.199 GB, free: 1.043 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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