Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_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.001088/0.001088, 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.001015/0.001015, allocations: 193.2 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.3 MB / 0.6647 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6337, allocations: 140.4 MB / 0.9498 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001788/0.6355, allocations: 0.5928 MB / 0.9503 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.6362, allocations: 0.779 MB / 0.9511 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.6362, allocations: 1.375 kB / 0.9511 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.6362, allocations: 0 / 0.9511 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.6363, allocations: 11.92 kB / 0.9511 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.954e-05/0.6364, allocations: 5.312 kB / 0.9511 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.6364, allocations: 18.86 kB / 0.9511 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.6365, allocations: 5.375 kB / 0.9511 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.6366, allocations: 6.688 kB / 0.9511 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.6366, allocations: 10.73 kB / 0.9512 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.6366, allocations: 1.375 kB / 0.9512 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.6366, allocations: 5.312 kB / 0.9512 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.6367, allocations: 5.359 kB / 0.9512 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.6367, allocations: 5.375 kB / 0.9512 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.841e-05/0.6367, allocations: 14.28 kB / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6368, allocations: 1.062 kB / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6368, allocations: 4 kB / 0.9512 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.6368, allocations: 0 / 0.9512 GB, free: 8.16 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003419/0.6371, allocations: 337.9 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6372, allocations: 8.656 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.257e-05/0.6372, allocations: 32.22 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.6372, allocations: 0.9375 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.331e-05/0.6373, allocations: 162 kB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.6373, allocations: 5.641 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.6373, allocations: 384 / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.6375, allocations: 51.33 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6375, allocations: 7.875 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.6375, allocations: 1.25 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6375, allocations: 3.938 kB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.6376, allocations: 28.41 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.6378, allocations: 152.2 kB / 0.9519 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.293e-05/0.6379, allocations: 35.67 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.793e-05/0.6379, allocations: 25.12 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.638, allocations: 1.438 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.105e-05/0.638, allocations: 30.56 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.638, allocations: 1.5 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000294/0.6383, allocations: 87.52 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.6383, allocations: 51.41 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.6384, allocations: 98.89 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.6384, allocations: 26.58 kB / 0.9523 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.639e-05/0.6384, allocations: 81.61 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.6384, allocations: 0 / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.6384, allocations: 15.23 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.6385, allocations: 324.3 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.6386, allocations: 11.7 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.6386, allocations: 13.2 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.6388, allocations: 36.8 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6388, allocations: 8.047 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001621/0.639, allocations: 57.98 kB / 0.9528 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.639, allocations: 9.406 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.639, allocations: 0 / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.639, allocations: 0 / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.6391, allocations: 8.734 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.6391, allocations: 1.656 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.6391, allocations: 6.516 kB / 0.9528 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.6391, allocations: 5.219 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.354e-05/0.6392, allocations: 111.4 kB / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.6392, allocations: 9.375 kB / 0.953 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.6392, allocations: 3.125 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.6392, allocations: 0 / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6392, allocations: 1.156 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6392, allocations: 0 / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.162e-05/0.6393, allocations: 152.5 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.6393, allocations: 0 / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.6394, allocations: 17.55 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6394, allocations: 3.938 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.6394, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6394, allocations: 1.156 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6394, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.6396, allocations: 82.22 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.6396, allocations: 85.08 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.6396, allocations: 5.438 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.923e-05/0.6397, allocations: 6.859 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.6397, allocations: 1.125 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.6397, allocations: 1.531 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.029e-05/0.6397, allocations: 89.88 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6397, allocations: 0 / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001746/0.6399, allocations: 3.875 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003442/0.6403, allocations: 0.6281 MB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.6405, allocations: 38.22 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.6405, allocations: 0 / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.6405, allocations: 17.64 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.6408, allocations: 11.09 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.6411, allocations: 128.4 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.987e-05/0.6412, allocations: 0.6792 MB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.6412, allocations: 4.125 kB / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.6412, allocations: 9 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6412, allocations: 0 / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.6571, allocations: 1.198 MB / 0.956 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.614, allocations: 5.844 kB / 0.956 GB, free: 3.598 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches