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.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 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.001112/0.001112, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.437/2.437, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6144, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002638/0.6171, allocations: 1.29 MB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.6193, allocations: 1.693 MB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.6195, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.775e-05/0.6196, allocations: 23.67 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.6198, allocations: 79.28 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.6214, allocations: 0.6456 MB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008207/0.6222, allocations: 0.7876 MB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.6224, allocations: 76.64 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.6228, allocations: 291.4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.6231, allocations: 247.1 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.6233, allocations: 72 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.6235, allocations: 83.97 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.6236, allocations: 75.7 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.6239, allocations: 259.1 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.6245, allocations: 0.6916 MB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6245, allocations: 8 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6245, allocations: 0 / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.6245, allocations: 0 / 1.024 GB, free: 12.16 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.001367/0.6259, allocations: 0.867 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.626, allocations: 15.98 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.626, allocations: 50.73 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.6262, allocations: 48.56 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.6276, allocations: 467.2 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.6277, allocations: 28.38 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6278, allocations: 48.36 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.6282, allocations: 217.5 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6282, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.6283, allocations: 15.92 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6283, allocations: 7.984 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.6286, allocations: 119.9 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.6298, allocations: 0.9531 MB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/0.6305, allocations: 244.1 kB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.6307, allocations: 102.5 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.6308, allocations: 7.938 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.6313, allocations: 289.3 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 2.054e-06/0.6313, allocations: 4 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001113/0.6324, allocations: 446.9 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.6325, allocations: 118.7 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.6328, allocations: 270.9 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.6328, allocations: 45.7 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.633, allocations: 152.9 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.633, allocations: 102.5 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.6333, allocations: 154 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6334, allocations: 346.8 kB / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.6339, allocations: 216.9 kB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.6345, allocations: 396.6 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.6354, allocations: 0.5757 MB / 1.03 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6354, allocations: 3.938 kB / 1.03 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001434/0.6369, allocations: 0.8387 MB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.721e-05/0.637, allocations: 190.2 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.637, allocations: 7.938 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.637, allocations: 4 kB / 1.031 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.6372, allocations: 48.28 kB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.6372, allocations: 20 kB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008925/0.6381, allocations: 179.7 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.6382, allocations: 39.97 kB / 1.031 GB, free: 4.055 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.0002064/0.6384, allocations: 175.5 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.6385, allocations: 31.62 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.6386, allocations: 41.8 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6386, allocations: 4 kB / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.6386, allocations: 0 / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6386, allocations: 0 / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.6399, allocations: 0.9319 MB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6399, allocations: 0 / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.6401, allocations: 39.91 kB / 1.032 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.6402, allocations: 4 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.6402, allocations: 11.98 kB / 1.032 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6402, allocations: 4 kB / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6402, allocations: 0 / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6413, allocations: 0.7157 MB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.6414, allocations: 108.8 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.6414, allocations: 12 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.6417, allocations: 19.97 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.6418, allocations: 35.91 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.6418, allocations: 19.98 kB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001576/0.642, allocations: 178 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.642, allocations: 0 / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005089/0.6425, allocations: 116 kB / 1.033 GB, free: 1.516 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.001335/0.6438, allocations: 1.265 MB / 1.035 GB, free: 228 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.6451, allocations: 0.86 MB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6451, allocations: 0 / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.6454, allocations: 157 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.0007587/0.6462, allocations: 111.1 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.6519, allocations: 4.258 MB / 1.04 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6522, allocations: 0.7728 MB / 1.041 GB, free: 9.766 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.6524, allocations: 47.28 kB / 1.041 GB, free: 9.719 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6525, allocations: 115.4 kB / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.6525, allocations: 0 / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.6808, allocations: 9.83 MB / 1.05 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.864, allocations: 6.688 kB / 1.05 GB, free: 15.94 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 & 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