Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008247/0.008247, allocations: 103.3 kB / 15.74 MB, free: 5.957 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.001724/0.001725, allocations: 186.9 kB / 16.67 MB, free: 5.887 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.87/1.87, 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 9.1.3-maint.9.1.x/package.mo): time 3.359/3.359, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 71.89 kB / 0.9505 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209/1.212, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.00199/1.214, allocations: 0.6752 MB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000885/1.214, allocations: 0.782 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/1.215, allocations: 1.094 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/1.215, allocations: 4.734 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/1.215, allocations: 4.938 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.943e-05/1.215, allocations: 3.344 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/1.215, allocations: 24.42 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/1.215, allocations: 16.58 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/1.215, allocations: 5.469 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/1.215, allocations: 14.47 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/1.215, allocations: 5.906 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/1.215, allocations: 2.25 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/1.215, allocations: 5.578 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/1.215, allocations: 11.2 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/1.215, allocations: 21.72 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.215, allocations: 1.188 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.215, allocations: 0 / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.215, allocations: 0 / 1.089 GB, free: 4.203 MB / 0.8575 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.000415/1.216, allocations: 344.3 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.216, allocations: 8.969 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/1.216, allocations: 36.19 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/1.216, allocations: 2.203 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/1.216, allocations: 164.2 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.216, allocations: 384 / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/1.216, allocations: 2.562 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/1.216, allocations: 52.03 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.216, allocations: 5.125 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/1.216, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.216, allocations: 5.703 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/1.216, allocations: 36.56 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/1.217, allocations: 254.9 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.217, allocations: 44.91 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.217, allocations: 30.48 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/1.217, allocations: 0 / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/1.217, allocations: 32.25 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/1.217, allocations: 0 / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000387/1.217, allocations: 80.03 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/1.217, allocations: 59.91 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/1.217, allocations: 107 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/1.217, allocations: 26.95 kB / 1.09 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/1.217, allocations: 86.06 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/1.218, allocations: 5.625 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/1.218, allocations: 19.84 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/1.218, allocations: 313.2 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/1.218, allocations: 17.2 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/1.218, allocations: 18.67 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/1.218, allocations: 38.41 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.218, allocations: 3.938 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/1.218, allocations: 66.77 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.218, allocations: 5.688 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.218, allocations: 0.6094 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.218, allocations: 0 / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.218, allocations: 12.94 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.218, allocations: 5.062 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/1.218, allocations: 5.578 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/1.218, allocations: 1.391 kB / 1.091 GB, free: 2.434 MB / 0.8575 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.28e-05/1.218, allocations: 116.4 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/1.219, allocations: 1.875 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/1.219, allocations: 8.828 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.219, allocations: 0 / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/1.219, allocations: 1.062 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.219, allocations: 0.75 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/1.219, allocations: 168.2 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.219, allocations: 0.5625 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/1.219, allocations: 9.312 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.219, allocations: 0 / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/1.219, allocations: 5.094 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.219, allocations: 0.5625 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.219, allocations: 0 / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/1.219, allocations: 170.3 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/1.219, allocations: 79.12 kB / 1.091 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/1.219, allocations: 1.922 kB / 1.091 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/1.219, allocations: 13.81 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/1.219, allocations: 1.688 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/1.219, allocations: 1.219 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.743e-05/1.219, allocations: 89.48 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.219, allocations: 0 / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002248/1.22, allocations: 3.938 kB / 1.092 GB, free: 1.766 MB / 0.8575 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.0005171/1.22, allocations: 0.6972 MB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002495/1.22, allocations: 39.83 kB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.22, allocations: 0 / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/1.22, allocations: 24.86 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/1.221, allocations: 2.672 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/1.221, allocations: 138.9 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/1.221, allocations: 0.676 MB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.685e-05/1.221, allocations: 1.641 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/1.222, allocations: 13.7 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of SimCode: time 3.5e-07/1.222, allocations: 0 / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2104/1.432, allocations: 1.297 MB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.92, allocations: 6.844 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches