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.00534/0.00534, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001908/0.001908, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.548/2.548, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.09 kB / 1.018 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.28, allocations: 151.6 MB / 1.166 GB, free: 7.465 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001803/0.2818, allocations: 0.6075 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.2828, allocations: 0.781 MB / 1.168 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.2829, allocations: 0 / 1.168 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.2829, allocations: 3.938 kB / 1.168 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.283, allocations: 0 / 1.168 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.364e-05/0.283, allocations: 7.984 kB / 1.168 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.2831, allocations: 19.88 kB / 1.168 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.2832, allocations: 7.984 kB / 1.168 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.2833, allocations: 12 kB / 1.168 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.2833, allocations: 7.984 kB / 1.168 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2833, allocations: 0 / 1.168 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-06/0.2833, allocations: 0 / 1.168 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2834, allocations: 7.938 kB / 1.168 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.2834, allocations: 4 kB / 1.168 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.937e-05/0.2835, allocations: 23.89 kB / 1.168 GB, free: 5.969 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2835, allocations: 0 / 1.168 GB, free: 5.969 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2835, allocations: 0 / 1.168 GB, free: 5.969 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2835, allocations: 0 / 1.168 GB, free: 5.969 MB / 0.92 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.0005639/0.2841, allocations: 342.3 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.2841, allocations: 8.031 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.2842, allocations: 30.75 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.2842, allocations: 4.938 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2844, allocations: 164.3 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2844, allocations: 384 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2845, allocations: 384 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2847, allocations: 46.23 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2847, allocations: 11.94 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2847, allocations: 0 / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2848, allocations: 3.984 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.285, allocations: 23.97 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.2853, allocations: 149.7 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2854, allocations: 38.53 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.2856, allocations: 24.89 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2856, allocations: 0 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2856, allocations: 30.56 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.2857, allocations: 0 / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0004493/0.2861, allocations: 77.69 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.2862, allocations: 59.42 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.2863, allocations: 101.7 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2863, allocations: 29.7 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.2864, allocations: 84.14 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.2864, allocations: 3.906 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.2865, allocations: 9.719 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2866, allocations: 318.8 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2868, allocations: 19.98 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-05/0.2869, allocations: 11.98 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.2871, allocations: 40.77 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2871, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002689/0.2874, allocations: 65.72 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.2874, allocations: 7.938 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2874, allocations: 3.938 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2874, allocations: 0 / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2876, allocations: 11.98 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2876, allocations: 0 / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.2877, allocations: 4 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2877, allocations: 0 / 1.169 GB, free: 4.043 MB / 0.92 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 0.0001083/0.2878, allocations: 113.9 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.2878, allocations: 3.938 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.2879, allocations: 7.125 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2879, allocations: 0 / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2879, allocations: 0 / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2879, allocations: 0 / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.2881, allocations: 153.7 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2881, allocations: 0 / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.2881, allocations: 7.984 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2882, allocations: 3.938 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2882, allocations: 0 / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2882, allocations: 4 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2882, allocations: 0 / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.2885, allocations: 93.03 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2885, allocations: 81.02 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2886, allocations: 3.938 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.2886, allocations: 12.02 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.2887, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2887, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.2888, allocations: 79.28 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2888, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003142/0.2891, allocations: 4 kB / 1.17 GB, free: 3.391 MB / 0.92 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.0006613/0.2898, allocations: 0.6319 MB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.2901, allocations: 31.91 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2901, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2902, allocations: 20.08 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.2905, allocations: 7.938 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.2911, allocations: 115.7 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2914, allocations: 0.6768 MB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.2914, allocations: 0 / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.2915, allocations: 15.38 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of SimCode: time 4.2e-07/0.2915, allocations: 4 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.3098, allocations: 1.22 MB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.147, allocations: 10 kB / 1.173 GB, free: 0.6602 MB / 0.92 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