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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001066/0.001066, allocations: 108 kB / 15.6 MB, free: 132 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.001073/0.001073, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.66 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2475, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001846/0.2494, allocations: 0.6769 MB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000774/0.2502, allocations: 0.7923 MB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.2502, allocations: 0 / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.2503, allocations: 7.938 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.2503, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.656e-05/0.2504, allocations: 4 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.897e-05/0.2504, allocations: 27.92 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.2505, allocations: 8 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.2506, allocations: 7.922 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.2506, allocations: 15.97 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2506, allocations: 7.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.2507, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.2507, allocations: 4 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.2507, allocations: 15.94 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.045e-05/0.2508, allocations: 19.95 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2508, allocations: 7.875 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2508, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2508, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 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.0003867/0.2512, allocations: 343.7 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2512, allocations: 8.625 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.2513, allocations: 30.75 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.2513, allocations: 12.84 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2514, allocations: 160.4 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.2514, allocations: 384 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.2514, allocations: 4.375 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.2516, allocations: 46.23 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2516, allocations: 7.938 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.2516, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2516, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.2518, allocations: 39.89 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.2521, allocations: 249 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.2522, allocations: 38.5 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.2523, allocations: 28.89 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.2523, allocations: 7.984 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2523, allocations: 30.56 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2523, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003126/0.2526, allocations: 89.48 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2527, allocations: 51.41 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.2527, allocations: 106 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2528, allocations: 29.7 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.2528, allocations: 84.12 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.2528, allocations: 3.906 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.2529, allocations: 17.72 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.253, allocations: 310.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.253, allocations: 15.98 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.2531, allocations: 23.97 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2533, allocations: 40.77 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2533, allocations: 3.938 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001871/0.2535, allocations: 65.66 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2535, allocations: 5.25 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2535, allocations: 96 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2535, allocations: 4 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.2536, allocations: 11.98 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2536, allocations: 3.938 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.2537, allocations: 8 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.2537, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 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 5.931e-05/0.2537, allocations: 109.8 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.2538, allocations: 11.92 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.2538, allocations: 3.125 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2538, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2538, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2538, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.2539, allocations: 165.6 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2539, allocations: 0 / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.254, allocations: 15.92 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.254, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.254, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.254, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.254, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.2543, allocations: 167.4 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.2543, allocations: 89.05 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.2543, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.2544, allocations: 7.984 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.2544, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.2544, allocations: 4.031 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.2545, allocations: 87.52 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2545, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002045/0.2547, allocations: 8 kB / 1.057 GB, free: 3.84 MB / 0.8106 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.0004874/0.2552, allocations: 0.7007 MB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2554, allocations: 35.95 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2554, allocations: 0 / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.2555, allocations: 23.92 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2557, allocations: 4 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.2561, allocations: 135.3 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2563, allocations: 0.6807 MB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.2563, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.2564, allocations: 11.44 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2564, allocations: 0 / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.2728, allocations: 1.273 MB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/6.948, allocations: 14.36 kB / 1.06 GB, free: 0.9609 MB / 0.8106 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=50 --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