Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007073/0.007073, allocations: 101.8 kB / 15.73 MB, free: 5.516 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.001747/0.001747, allocations: 197 kB / 16.68 MB, free: 5.445 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 482.4 MB / 0.7548 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 65.81 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 162.2 MB / 1.241 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001629/0.3073, allocations: 0.5997 MB / 1.242 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.3082, allocations: 0.7809 MB / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.3082, allocations: 0 / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.3083, allocations: 0 / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.3083, allocations: 7.922 kB / 1.243 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.17e-05/0.3084, allocations: 7.984 kB / 1.243 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.485e-05/0.3084, allocations: 19.88 kB / 1.243 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3085, allocations: 12 kB / 1.243 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.3086, allocations: 11.92 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.53e-05/0.3086, allocations: 8 kB / 1.243 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3086, allocations: 0 / 1.243 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.3086, allocations: 4 kB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3087, allocations: 7.922 kB / 1.243 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.3087, allocations: 0 / 1.243 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.988e-05/0.3088, allocations: 15.92 kB / 1.243 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3088, allocations: 3.984 kB / 1.243 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3088, allocations: 0 / 1.243 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3088, allocations: 0 / 1.243 GB, free: 7.75 MB / 0.9669 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.0004427/0.3092, allocations: 337.6 kB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3093, allocations: 12.03 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.3093, allocations: 30.75 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.3094, allocations: 8.922 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3095, allocations: 168.3 kB / 1.243 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3095, allocations: 384 / 1.243 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.3095, allocations: 384 / 1.243 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3097, allocations: 50.25 kB / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3097, allocations: 3.938 kB / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3097, allocations: 3.984 kB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3098, allocations: 3.938 kB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.3099, allocations: 27.97 kB / 1.244 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.3101, allocations: 149.7 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3102, allocations: 34.56 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.3103, allocations: 16.91 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3103, allocations: 4 kB / 1.244 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3104, allocations: 38.55 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3104, allocations: 0 / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000342/0.3107, allocations: 77.53 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3108, allocations: 55.41 kB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.3109, allocations: 105.8 kB / 1.244 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3109, allocations: 25.7 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.3109, allocations: 80.14 kB / 1.244 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.311, allocations: 3.938 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.311, allocations: 13.72 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3111, allocations: 319 kB / 1.244 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.3112, allocations: 15.97 kB / 1.244 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.3113, allocations: 11.98 kB / 1.244 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3115, allocations: 36.77 kB / 1.244 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3115, allocations: 3.938 kB / 1.244 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001941/0.3117, allocations: 73.61 kB / 1.245 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3117, allocations: 11.94 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3117, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3117, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.3118, allocations: 7.984 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3118, allocations: 0 / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.3119, allocations: 4 kB / 1.245 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3119, allocations: 0 / 1.245 GB, free: 5.816 MB / 0.9669 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 8.145e-05/0.312, allocations: 114.4 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.312, allocations: 7.922 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.312, allocations: 7.125 kB / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.312, allocations: 0 / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.312, allocations: 0 / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.312, allocations: 0 / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.3122, allocations: 149.7 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3122, allocations: 0 / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.3122, allocations: 11.98 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3122, allocations: 11.88 kB / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3122, allocations: 4 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3123, allocations: 0 / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3123, allocations: 4 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3125, allocations: 81.09 kB / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.3125, allocations: 77.11 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3125, allocations: 7.969 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.3126, allocations: 7.984 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3126, allocations: 0 / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3126, allocations: 4 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.3127, allocations: 79.28 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3127, allocations: 0 / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001772/0.3129, allocations: 4 kB / 1.245 GB, free: 5.164 MB / 0.9669 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.0005522/0.3134, allocations: 0.6279 MB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3137, allocations: 31.95 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3137, allocations: 0 / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.3138, allocations: 24.08 kB / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.314, allocations: 0 / 1.246 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.3144, allocations: 131 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.3147, allocations: 0.6729 MB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.3147, allocations: 4 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.3148, allocations: 11.38 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3148, allocations: 64 / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3362, allocations: 1.234 MB / 1.248 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.919, allocations: 3.938 kB / 1.248 GB, free: 2.438 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches