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.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.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.00132/0.00132, allocations: 108 kB / 15.61 MB, free: 152 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.001345/0.001346, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.492/2.492, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.88 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6809, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001634/0.6826, allocations: 0.6034 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.6834, allocations: 0.7885 MB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.6834, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.6834, allocations: 3.938 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.6835, allocations: 4 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.564e-05/0.6835, allocations: 4 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.6835, allocations: 19.92 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.6836, allocations: 4 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.397e-05/0.6836, allocations: 4 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.6836, allocations: 11.92 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.6837, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-06/0.6837, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.6837, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.6837, allocations: 7.938 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.601e-05/0.6838, allocations: 23.95 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6838, allocations: 3.938 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6838, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.6838, allocations: 0 / 1.019 GB, free: 1.039 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.0003195/0.6841, allocations: 339.4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.6841, allocations: 12.03 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.353e-05/0.6842, allocations: 30.75 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.314e-05/0.6842, allocations: 0.9375 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.6843, allocations: 168.2 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.6843, allocations: 4.375 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-06/0.6843, allocations: 4.375 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.6844, allocations: 42.23 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-06/0.6845, allocations: 7.875 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-06/0.6845, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-06/0.6845, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.6846, allocations: 27.97 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.6848, allocations: 161.7 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.6849, allocations: 34.53 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.685, allocations: 16.91 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.685, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6851, allocations: 34.56 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.6851, allocations: 4 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0004056/0.6855, allocations: 73.58 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.6855, allocations: 59.41 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.6856, allocations: 97.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.6857, allocations: 25.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.6857, allocations: 88.12 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.6857, allocations: 4.125 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.6858, allocations: 13.72 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6859, allocations: 310.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.6861, allocations: 15.98 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.6862, allocations: 11.98 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.6864, allocations: 40.88 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6864, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002001/0.6866, allocations: 57.67 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6866, allocations: 11.94 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.6867, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6867, allocations: 192 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.6867, allocations: 15.92 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.6868, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.6868, allocations: 12.02 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.6868, allocations: 0 / 1.021 GB, free: 15.12 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.585e-05/0.6869, allocations: 109.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.6869, allocations: 15.77 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.6869, allocations: 3.125 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6869, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.6869, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.687, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.368e-05/0.687, allocations: 161.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6871, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.6871, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.6871, allocations: 7.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.6871, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6871, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6871, allocations: 3.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.6874, allocations: 85.05 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.6874, allocations: 77.11 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.6874, allocations: 11.92 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.6875, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.6875, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.6875, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.6876, allocations: 79.27 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6876, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003172/0.6879, allocations: 0 / 1.021 GB, free: 14.46 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.000533/0.6885, allocations: 0.6281 MB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.6887, allocations: 39.94 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6887, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.6888, allocations: 15.97 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.689, allocations: 7.938 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.6893, allocations: 129.4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.6895, allocations: 0.6769 MB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.68e-05/0.6895, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.6896, allocations: 11.44 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6896, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.705, allocations: 1.192 MB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.36, allocations: 7.891 kB / 1.024 GB, free: 11.73 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