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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008582/0.0008582, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005211/0.005211, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.9 MB / 0.6664 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002956, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5364, allocations: 142.4 MB / 0.9552 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.0006194/0.537, allocations: 402.2 kB / 0.9556 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005798/0.5376, allocations: 0.7918 MB / 0.9564 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.5376, allocations: 0 / 0.9564 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.5377, allocations: 0 / 0.9564 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.5377, allocations: 5.531 kB / 0.9564 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.85e-05/0.5378, allocations: 7.984 kB / 0.9564 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.5378, allocations: 21.45 kB / 0.9564 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.5379, allocations: 7.25 kB / 0.9564 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.5379, allocations: 3.406 kB / 0.9564 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.538, allocations: 10.42 kB / 0.9564 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.538, allocations: 4.969 kB / 0.9564 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-06/0.538, allocations: 1.188 kB / 0.9564 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.538, allocations: 5.188 kB / 0.9564 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.538, allocations: 31.58 kB / 0.9564 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.605e-05/0.5381, allocations: 28.31 kB / 0.9565 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5381, allocations: 0 / 0.9565 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5381, allocations: 0 / 0.9565 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.5381, allocations: 0 / 0.9565 GB, free: 6.836 MB / 0.7169 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.000268/0.5384, allocations: 347.4 kB / 0.9568 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5384, allocations: 9.469 kB / 0.9568 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.084e-05/0.5384, allocations: 30.75 kB / 0.9568 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.605e-05/0.5385, allocations: 3.281 kB / 0.9568 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.421e-05/0.5385, allocations: 169.6 kB / 0.957 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.5385, allocations: 1.312 kB / 0.957 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-06/0.5385, allocations: 1.312 kB / 0.957 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5387, allocations: 63.2 kB / 0.9571 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.5387, allocations: 3.938 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.5387, allocations: 0 / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5387, allocations: 1.469 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.5389, allocations: 39.38 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.5391, allocations: 257.7 kB / 0.9574 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5392, allocations: 44.69 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.5393, allocations: 37.47 kB / 0.9574 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.5393, allocations: 1.062 kB / 0.9574 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.5393, allocations: 34.56 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5393, allocations: 1.094 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002997/0.5396, allocations: 95.05 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.5397, allocations: 52.5 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.12e-05/0.5397, allocations: 103.3 kB / 0.9577 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.5397, allocations: 26.92 kB / 0.9577 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.5397, allocations: 89.42 kB / 0.9578 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.5398, allocations: 4.031 kB / 0.9578 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.5398, allocations: 14.88 kB / 0.9578 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.5398, allocations: 320 kB / 0.9581 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.5399, allocations: 22.14 kB / 0.9582 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.54, allocations: 22.55 kB / 0.9582 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.5401, allocations: 49.36 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5401, allocations: 3.938 kB / 0.9582 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.5403, allocations: 78.25 kB / 0.9583 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.5403, allocations: 4.781 kB / 0.9583 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.5403, allocations: 1.406 kB / 0.9583 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.5404, allocations: 0 / 0.9583 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.5404, allocations: 12.55 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.5404, allocations: 0 / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.5405, allocations: 22.27 kB / 0.9584 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.5405, allocations: 1.281 kB / 0.9584 GB, free: 4.961 MB / 0.7169 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 3.667e-05/0.5405, allocations: 115.1 kB / 0.9585 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.5406, allocations: 1.031 kB / 0.9585 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/0.5406, allocations: 4.219 kB / 0.9585 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5406, allocations: 3.984 kB / 0.9585 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.5406, allocations: 1.344 kB / 0.9585 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.5406, allocations: 256 / 0.9585 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.866e-05/0.5407, allocations: 166.4 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5407, allocations: 4 kB / 0.9586 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.5408, allocations: 12.64 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5408, allocations: 1.25 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.5408, allocations: 0 / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5408, allocations: 3.938 kB / 0.9587 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5408, allocations: 1.281 kB / 0.9587 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.541, allocations: 176.1 kB / 0.9588 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.541, allocations: 78.23 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-06/0.541, allocations: 5 kB / 0.9589 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.5411, allocations: 9.781 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.5411, allocations: 5.172 kB / 0.9589 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5411, allocations: 5.031 kB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.759e-05/0.5412, allocations: 79.19 kB / 0.959 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5412, allocations: 0 / 0.959 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001946/0.5414, allocations: 4.062 kB / 0.959 GB, free: 4.273 MB / 0.7169 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.0003234/0.5417, allocations: 0.7094 MB / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.5419, allocations: 55.95 kB / 0.9597 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5419, allocations: 3.938 kB / 0.9597 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.542, allocations: 24.14 kB / 0.9598 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.5422, allocations: 4.453 kB / 0.9598 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.5425, allocations: 143.7 kB / 0.9599 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.5426, allocations: 0.6786 MB / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.5426, allocations: 0 / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.5426, allocations: 9.344 kB / 0.9606 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.5426, allocations: 0 / 0.9606 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4011/0.9437, allocations: 1.045 MB / 0.9616 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/0.9439, allocations: 217.2 kB / 0.9618 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.481, allocations: 4 kB / 0.9618 GB, free: 1.945 MB / 0.7169 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