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.009941/0.009941, allocations: 100 kB / 15.73 MB, free: 6.008 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.001886/0.001886, allocations: 193 kB / 16.67 MB, free: 5.926 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.346/1.346, 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.4/2.4, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 71.89 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8184, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002267/0.8207, allocations: 1.299 MB / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.8228, allocations: 1.701 MB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.8229, allocations: 0 / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.214e-05/0.823, allocations: 19.69 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.8233, allocations: 91.34 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.8247, allocations: 0.6515 MB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009105/0.8256, allocations: 0.7954 MB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.8258, allocations: 68.7 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.8262, allocations: 311.2 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.8267, allocations: 279.1 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.8269, allocations: 72 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.827, allocations: 83.98 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.8271, allocations: 79.67 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.8274, allocations: 259.1 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007044/0.8282, allocations: 0.6928 MB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.8282, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8282, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8282, allocations: 0 / 1.172 GB, free: 13.36 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.001289/0.8295, allocations: 0.8709 MB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.8295, allocations: 12.92 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.8296, allocations: 50.72 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.8297, allocations: 48.75 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.831, allocations: 463.5 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.831, allocations: 36.22 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.8311, allocations: 40.38 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.8316, allocations: 229.5 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.8316, allocations: 0 / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.8316, allocations: 8 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.8316, allocations: 4 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.8319, allocations: 123.9 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.8331, allocations: 0.9532 MB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.8337, allocations: 228.1 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.834, allocations: 106.5 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.834, allocations: 7.969 kB / 1.176 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.8345, allocations: 291.2 kB / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.8345, allocations: 0 / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001012/0.8355, allocations: 457 kB / 1.176 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.8356, allocations: 114.8 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.8358, allocations: 262.9 kB / 1.177 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.8359, allocations: 57.69 kB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.836, allocations: 157 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.8361, allocations: 103.2 kB / 1.177 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.8363, allocations: 154 kB / 1.177 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8364, allocations: 338.8 kB / 1.177 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.8369, allocations: 228.8 kB / 1.178 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.8375, allocations: 388.5 kB / 1.178 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.8383, allocations: 0.5787 MB / 1.179 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8383, allocations: 4 kB / 1.179 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001432/0.8398, allocations: 0.8439 MB / 1.179 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.914e-05/0.8399, allocations: 190.2 kB / 1.18 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.8399, allocations: 3.938 kB / 1.18 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8399, allocations: 8 kB / 1.18 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.8401, allocations: 63.81 kB / 1.18 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8401, allocations: 4.25 kB / 1.18 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/0.841, allocations: 175.6 kB / 1.18 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.8411, allocations: 47.97 kB / 1.18 GB, free: 5.25 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.0001815/0.8413, allocations: 167.5 kB / 1.18 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.8413, allocations: 39.77 kB / 1.18 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.8414, allocations: 37.8 kB / 1.18 GB, free: 5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8414, allocations: 8 kB / 1.18 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8414, allocations: 0 / 1.18 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.8414, allocations: 7.984 kB / 1.18 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.8426, allocations: 0.9122 MB / 1.181 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8426, allocations: 7.984 kB / 1.181 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.8428, allocations: 47.91 kB / 1.181 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8428, allocations: 0 / 1.181 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.8429, allocations: 11.98 kB / 1.181 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.8429, allocations: 4 kB / 1.181 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8429, allocations: 3.938 kB / 1.181 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.8439, allocations: 0.7083 MB / 1.182 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.844, allocations: 104.9 kB / 1.182 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.844, allocations: 16.03 kB / 1.182 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.8442, allocations: 15.98 kB / 1.182 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.8443, allocations: 27.91 kB / 1.182 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.8443, allocations: 20.17 kB / 1.182 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001448/0.8445, allocations: 182 kB / 1.182 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8445, allocations: 3.938 kB / 1.182 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000464/0.845, allocations: 108 kB / 1.182 GB, free: 2.727 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.001342/0.8463, allocations: 1.289 MB / 1.183 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8475, allocations: 0.8307 MB / 1.184 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8475, allocations: 0.75 kB / 1.184 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.8479, allocations: 164 kB / 1.184 GB, free: 352 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.8486, allocations: 113.3 kB / 1.185 GB, free: 236 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.8542, allocations: 4.262 MB / 1.189 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.8546, allocations: 0.7728 MB / 1.189 GB, free: 10.97 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000192/0.8548, allocations: 59.44 kB / 1.189 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.855, allocations: 111.4 kB / 1.19 GB, free: 10.8 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.855, allocations: 0 / 1.19 GB, free: 10.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.233/1.088, allocations: 9.91 MB / 1.199 GB, free: 1.055 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/9.713, allocations: 8.375 kB / 1.199 GB, free: 1.047 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