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.001054/0.001054, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001022/0.001022, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.313/2.313, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5613/0.5626, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001729/0.5644, allocations: 0.6798 MB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.5652, allocations: 0.7806 MB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.5652, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.5652, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.5653, allocations: 4 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.534e-05/0.5653, allocations: 7.984 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.457e-05/0.5654, allocations: 15.94 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.5654, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.231e-05/0.5655, allocations: 7.984 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.5655, allocations: 7.938 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.5655, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-06/0.5656, allocations: 8 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.5656, allocations: 3.984 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.5656, allocations: 7.922 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.024e-05/0.5657, allocations: 11.98 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5657, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5657, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.5657, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 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.0003468/0.566, allocations: 337.8 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5661, allocations: 8.031 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.5661, allocations: 42.69 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.819e-05/0.5661, allocations: 0.9375 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.5662, allocations: 168.3 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-06/0.5662, allocations: 384 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.5662, allocations: 384 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5664, allocations: 46.25 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5664, allocations: 7.922 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.5664, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5664, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.5666, allocations: 31.95 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.5667, allocations: 153.7 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.5668, allocations: 38.44 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.5669, allocations: 16.91 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.5669, allocations: 4 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.5669, allocations: 34.56 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.5669, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002657/0.5672, allocations: 77.58 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.5672, allocations: 55.34 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.5673, allocations: 102 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.5673, allocations: 29.7 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.5674, allocations: 88.08 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.5674, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.5674, allocations: 13.72 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.5675, allocations: 310.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.5676, allocations: 15.98 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.5677, allocations: 19.97 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.5678, allocations: 32.83 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5678, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001629/0.568, allocations: 69.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.568, allocations: 11.94 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.568, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.036e-06/0.568, allocations: 4.094 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.5681, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5681, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.5681, allocations: 7.984 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.5681, allocations: 0 / 1.02 GB, free: 15.34 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 5.688e-05/0.5682, allocations: 106.4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.5682, allocations: 7.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.5682, allocations: 7.109 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5682, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5682, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.5683, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.214e-05/0.5683, allocations: 153.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5683, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.5684, allocations: 7.984 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.5684, allocations: 7.938 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.5684, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5684, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5684, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.5686, allocations: 93.03 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.5687, allocations: 77.11 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.5687, allocations: 3.938 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.5687, allocations: 4 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.5687, allocations: 3.984 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.5688, allocations: 4 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.5688, allocations: 79.31 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5688, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001645/0.569, allocations: 4 kB / 1.02 GB, free: 14.68 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.0003959/0.5694, allocations: 0.626 MB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.5695, allocations: 35.89 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5696, allocations: 7.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.5696, allocations: 11.98 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.5698, allocations: 9.812 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.5701, allocations: 129 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.5703, allocations: 0.677 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.5703, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.5704, allocations: 11.44 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5704, allocations: 3.938 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009373/0.5798, allocations: 1.028 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.5801, allocations: 206.7 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/2.013, allocations: 3.938 kB / 1.023 GB, free: 11.89 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