Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_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.006984/0.006984, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001796/0.001796, allocations: 196.8 kB / 16.68 MB, free: 5.484 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.675/2.675, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 67.89 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2694, allocations: 162.3 MB / 1.242 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001598/0.271, allocations: 0.6779 MB / 1.243 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007725/0.2718, allocations: 0.7807 MB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.2718, allocations: 0 / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.2719, allocations: 3.938 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.2719, allocations: 3.938 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.383e-05/0.272, allocations: 8 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.272, allocations: 23.98 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.2721, allocations: 7.984 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.2722, allocations: 15.88 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.2722, allocations: 11.97 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2722, allocations: 4 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-06/0.2722, allocations: 0 / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.2722, allocations: 7.938 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.2723, allocations: 7.938 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.302e-05/0.2723, allocations: 19.95 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2724, allocations: 4 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2724, allocations: 0 / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2724, allocations: 0 / 1.243 GB, free: 8.164 MB / 0.9981 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.0003919/0.2728, allocations: 343.4 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2728, allocations: 8.031 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.2728, allocations: 38.75 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.761e-05/0.2729, allocations: 4.891 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.273, allocations: 164.3 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.273, allocations: 4.375 kB / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.273, allocations: 8.359 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.2732, allocations: 50.19 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2732, allocations: 3.938 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2732, allocations: 4 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-06/0.2732, allocations: 0 / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2734, allocations: 35.95 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.2737, allocations: 244.9 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2738, allocations: 46.47 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.2739, allocations: 24.91 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2739, allocations: 0 / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2739, allocations: 30.56 kB / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2739, allocations: 4 kB / 1.244 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003125/0.2742, allocations: 85.59 kB / 1.245 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.2743, allocations: 51.41 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.2744, allocations: 105.8 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2744, allocations: 25.7 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.2744, allocations: 84.14 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.2744, allocations: 12.08 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.2745, allocations: 13.66 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2746, allocations: 318.8 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.2747, allocations: 19.98 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.2748, allocations: 15.98 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2749, allocations: 40.89 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2749, allocations: 3.938 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.2751, allocations: 65.66 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2751, allocations: 4 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2751, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.2751, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.2752, allocations: 15.97 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2752, allocations: 11.91 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.2753, allocations: 7.984 kB / 1.245 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2753, allocations: 0 / 1.245 GB, free: 6.07 MB / 0.9981 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.147e-05/0.2754, allocations: 113.8 kB / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.2754, allocations: 4 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.2754, allocations: 3.125 kB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2754, allocations: 0 / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2754, allocations: 0 / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2754, allocations: 0 / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2756, allocations: 173.6 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2756, allocations: 0 / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.2757, allocations: 4 kB / 1.246 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2757, allocations: 0 / 1.246 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2757, allocations: 3.984 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2757, allocations: 4.234 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2757, allocations: 4 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.2759, allocations: 167.4 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.276, allocations: 89.03 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.276, allocations: 0 / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.2761, allocations: 4 kB / 1.246 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.2761, allocations: 3.984 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.2761, allocations: 0 / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.2761, allocations: 83.28 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2762, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001936/0.2764, allocations: 8.031 kB / 1.246 GB, free: 5.324 MB / 0.9981 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.0005232/0.2769, allocations: 0.6934 MB / 1.247 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.2771, allocations: 47.92 kB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2771, allocations: 0 / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.709e-05/0.2772, allocations: 15.98 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2774, allocations: 13.44 kB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.2778, allocations: 131.1 kB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.278, allocations: 0.6847 MB / 1.247 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.902e-05/0.2781, allocations: 0 / 1.247 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.2781, allocations: 7.438 kB / 1.247 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2781, allocations: 0 / 1.247 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.262/1.541, allocations: 1.304 MB / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/16.28, allocations: 6.438 kB / 1.249 GB, free: 2.434 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches