Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Sources.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001041/0.001041, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.006478/0.006478, allocations: 170.7 kB / 16.26 MB, free: 6.68 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003266, allocations: 8 kB / 0.873 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/0.5522, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0006733/0.5529, allocations: 341.1 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.5537, allocations: 0.7846 MB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.5538, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.5538, allocations: 3.938 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.5539, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.62e-05/0.5539, allocations: 7.844 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.554, allocations: 19.92 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.554, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.5541, allocations: 4 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.116e-05/0.5541, allocations: 15.92 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.5541, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-06/0.5542, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.5542, allocations: 3.984 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.5542, allocations: 29.64 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.915e-05/0.5543, allocations: 15.97 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5543, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5543, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.5543, allocations: 0 / 1.024 GB, free: 14.6 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003591/0.5546, allocations: 339.5 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5547, allocations: 12.03 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.5547, allocations: 34.75 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.71e-05/0.5548, allocations: 0.9375 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.5549, allocations: 164.4 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.5549, allocations: 384 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.5549, allocations: 4.375 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.555, allocations: 50.17 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.5551, allocations: 3.938 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.5551, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.5551, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.5552, allocations: 43.97 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.5554, allocations: 157.6 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5555, allocations: 38.55 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.5556, allocations: 28.84 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.5556, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.5556, allocations: 30.56 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5556, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003229/0.556, allocations: 97.48 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.556, allocations: 51.41 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.5561, allocations: 106 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.5561, allocations: 25.7 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.5561, allocations: 84.12 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.5561, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.5562, allocations: 9.719 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.5563, allocations: 310.8 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.5564, allocations: 23.92 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.5564, allocations: 23.98 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.5566, allocations: 52.81 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5566, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001873/0.5568, allocations: 65.67 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5568, allocations: 7.938 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5568, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5568, allocations: 8.031 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.5569, allocations: 7.984 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5569, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.557, allocations: 11.98 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.557, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 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 6.76e-05/0.5571, allocations: 118.3 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.5571, allocations: 7.844 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/0.5571, allocations: 7.125 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5571, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5571, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.5571, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.042e-05/0.5572, allocations: 153.7 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5572, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.5573, allocations: 11.98 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5573, allocations: 3.938 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.5573, allocations: 4.125 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5573, allocations: 4 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5573, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.5575, allocations: 97.08 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.5576, allocations: 81.14 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.5576, allocations: 3.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.5577, allocations: 11.98 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.5577, allocations: 3.938 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.5577, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.5577, allocations: 87.27 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5577, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001692/0.5579, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 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.0004601/0.5584, allocations: 0.6359 MB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.5586, allocations: 35.97 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5586, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.5587, allocations: 31.98 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.5589, allocations: 11.86 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.5592, allocations: 118.4 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.5594, allocations: 0.6847 MB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.5594, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.5595, allocations: 7.438 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5595, allocations: 4.062 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009393/0.5689, allocations: 0.9586 MB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.5691, allocations: 206.1 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.086, allocations: 5.438 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches