Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.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.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",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.007828/0.007828, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.002425/0.002425, allocations: 202 kB / 16.68 MB, free: 5.965 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.54/2.54, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 71.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2824, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001708/0.2842, allocations: 0.6712 MB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.2851, allocations: 0.7888 MB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.2851, allocations: 3.938 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.2852, allocations: 0 / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.2852, allocations: 3.938 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.965e-05/0.2853, allocations: 7.984 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.218e-05/0.2854, allocations: 31.86 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.2855, allocations: 15.98 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.2855, allocations: 11.98 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.357e-05/0.2856, allocations: 7.938 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.2856, allocations: 4 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-06/0.2856, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2856, allocations: 3.984 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.2856, allocations: 11.94 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.681e-05/0.2857, allocations: 19.91 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2858, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2858, allocations: 4 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2858, allocations: 0 / 1.168 GB, free: 5.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003982/0.2862, allocations: 343.7 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2862, allocations: 8.031 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.2863, allocations: 46.67 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.2863, allocations: 8.891 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2864, allocations: 160.4 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2864, allocations: 384 / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.2864, allocations: 4.375 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2866, allocations: 58.17 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.2866, allocations: 3.938 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2866, allocations: 0 / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2866, allocations: 0 / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.2868, allocations: 31.97 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.2871, allocations: 249 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.2873, allocations: 46.44 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.2874, allocations: 28.89 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2874, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2874, allocations: 30.56 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2874, allocations: 3.938 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.2878, allocations: 85.61 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2878, allocations: 55.39 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.2879, allocations: 101.9 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2879, allocations: 25.7 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.288, allocations: 88.08 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.288, allocations: 12.06 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.288, allocations: 13.72 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.2881, allocations: 310.8 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.2882, allocations: 19.98 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.2883, allocations: 15.98 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.2885, allocations: 44.88 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2885, allocations: 3.938 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.2887, allocations: 61.67 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2887, allocations: 7.984 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2887, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2887, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.2888, allocations: 11.94 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2889, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.2889, allocations: 15.95 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.2889, allocations: 0 / 1.17 GB, free: 3.566 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 (2): * Single equations (assignments): 2 * 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 7.517e-05/0.289, allocations: 113.8 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.289, allocations: 4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.2891, allocations: 3.125 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2891, allocations: 3.984 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2891, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2891, allocations: 256 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2892, allocations: 165.5 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2892, allocations: 12 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.2893, allocations: 7.984 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2893, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2893, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2893, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2893, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.2896, allocations: 171.4 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.2896, allocations: 89.03 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.2896, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.2897, allocations: 7.984 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.2898, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2898, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.2898, allocations: 87.27 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2898, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002214/0.29, allocations: 4 kB / 1.17 GB, free: 2.816 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 (2): * Single equations (assignments): 2 * 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.0005431/0.2906, allocations: 0.6968 MB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.2908, allocations: 43.94 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2908, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.2909, allocations: 23.97 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2913, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.2917, allocations: 140.9 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.2919, allocations: 0.6768 MB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.2919, allocations: 4.125 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.292, allocations: 7.438 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.292, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.3091, allocations: 1.286 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.67, allocations: 10.89 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches