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.001842/0.001843, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001825/0.001825, allocations: 189 kB / 16.25 MB, free: 6.633 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.156/1.156, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.058/2.058, allocations: 390.3 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 71.83 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4445, allocations: 140.4 MB / 0.9493 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001309/0.4459, allocations: 0.6609 MB / 0.9499 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004769/0.4464, allocations: 0.7827 MB / 0.9507 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.4464, allocations: 0 / 0.9507 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.4464, allocations: 0 / 0.9507 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.4465, allocations: 9.25 kB / 0.9507 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.836e-05/0.4465, allocations: 0 / 0.9507 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.4466, allocations: 24.23 kB / 0.9507 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.4466, allocations: 1.375 kB / 0.9507 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.4466, allocations: 14.66 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.321e-05/0.4467, allocations: 6.75 kB / 0.9507 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.4467, allocations: 5.312 kB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-06/0.4467, allocations: 1.375 kB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.4467, allocations: 0 / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.4467, allocations: 9.359 kB / 0.9508 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.327e-05/0.4468, allocations: 14.67 kB / 0.9508 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.4468, allocations: 1.375 kB / 0.9508 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4468, allocations: 4 kB / 0.9508 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.4468, allocations: 0 / 0.9508 GB, free: 7.922 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.0002611/0.4471, allocations: 334 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.4471, allocations: 9.625 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.756e-05/0.4471, allocations: 30.75 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.566e-05/0.4471, allocations: 2.312 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.975e-05/0.4472, allocations: 165.8 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.4472, allocations: 384 / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.4472, allocations: 5.75 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.4473, allocations: 42.5 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.4473, allocations: 3.938 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.4474, allocations: 1.375 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.4474, allocations: 0 / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4475, allocations: 36.48 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.071e-05/0.4476, allocations: 152.1 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.4477, allocations: 31.22 kB / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.4477, allocations: 22.66 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.4477, allocations: 0 / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.4477, allocations: 31.97 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.4478, allocations: 0 / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002398/0.448, allocations: 88.2 kB / 0.9517 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/0.448, allocations: 51.41 kB / 0.9517 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.066e-05/0.4481, allocations: 103.2 kB / 0.9518 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.4481, allocations: 25.7 kB / 0.9519 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.324e-05/0.4481, allocations: 81.67 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.4481, allocations: 0 / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.4481, allocations: 19.97 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.822e-05/0.4482, allocations: 316 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.4482, allocations: 12.42 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.4483, allocations: 20.34 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.4484, allocations: 33.02 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4484, allocations: 4.062 kB / 0.9523 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000138/0.4486, allocations: 61.28 kB / 0.9524 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.4486, allocations: 9.656 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4486, allocations: 0 / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.4486, allocations: 0 / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.4487, allocations: 5 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.696e-06/0.4487, allocations: 0 / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.4487, allocations: 7.859 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4487, allocations: 5.25 kB / 0.9524 GB, free: 6.188 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 3.303e-05/0.4488, allocations: 111.2 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.4488, allocations: 9.094 kB / 0.9525 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/0.4488, allocations: 7.109 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.4488, allocations: 1.344 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4488, allocations: 3.938 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.4488, allocations: 0 / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.425e-05/0.4489, allocations: 153.4 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4489, allocations: 0 / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.4489, allocations: 17.14 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4489, allocations: 4.125 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.4489, allocations: 0 / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4489, allocations: 5.219 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4489, allocations: 0 / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.4491, allocations: 81.44 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.4491, allocations: 86.44 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.4491, allocations: 3.938 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.4492, allocations: 4.031 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.4492, allocations: 5.391 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.4492, allocations: 0 / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.723e-05/0.4492, allocations: 83.28 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4492, allocations: 0 / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001576/0.4494, allocations: 2.219 kB / 0.953 GB, free: 5.57 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.0002722/0.4497, allocations: 0.6277 MB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.4498, allocations: 42.42 kB / 0.9536 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4498, allocations: 0 / 0.9536 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.195e-05/0.4499, allocations: 17.36 kB / 0.9536 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.4501, allocations: 7.219 kB / 0.9536 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.4503, allocations: 130.3 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.412e-05/0.4504, allocations: 0.6752 MB / 0.9544 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.4504, allocations: 8.109 kB / 0.9544 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.4504, allocations: 8.438 kB / 0.9544 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.4504, allocations: 0 / 0.9544 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.196/4.646, allocations: 1.059 MB / 0.9555 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/4.646, allocations: 222 kB / 0.9557 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/6.844, allocations: 3.625 kB / 0.9557 GB, free: 3.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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