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.001616/0.001616, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001712/0.001712, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 67.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.5578, allocations: 140.4 MB / 0.9493 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.001865/0.5597, allocations: 0.7262 MB / 0.95 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.5605, allocations: 0.7919 MB / 0.9507 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.5606, allocations: 1.156 kB / 0.9507 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.5606, allocations: 3.984 kB / 0.9507 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.5607, allocations: 3.938 kB / 0.9508 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.95e-05/0.5607, allocations: 5.062 kB / 0.9508 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.5608, allocations: 21.92 kB / 0.9508 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.5609, allocations: 11.88 kB / 0.9508 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.561, allocations: 10.69 kB / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.561, allocations: 14.52 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.561, allocations: 3.281 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.561, allocations: 1.625 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.5611, allocations: 7.984 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.5611, allocations: 6.969 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.22e-05/0.5611, allocations: 27.61 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.5612, allocations: 1.344 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5612, allocations: 0 / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.5612, allocations: 4 kB / 0.9509 GB, free: 7.902 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.0003339/0.5615, allocations: 339.4 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5616, allocations: 9.781 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.5616, allocations: 30.75 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.5616, allocations: 3.312 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.5617, allocations: 169.4 kB / 0.9514 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5617, allocations: 1.656 kB / 0.9514 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.5617, allocations: 1.469 kB / 0.9514 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.5619, allocations: 53.14 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5619, allocations: 5.094 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.5619, allocations: 3.938 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5619, allocations: 0 / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.5621, allocations: 30.62 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.5624, allocations: 258.5 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.5625, allocations: 47.02 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.5626, allocations: 20.97 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.5626, allocations: 0 / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.5626, allocations: 43.7 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5626, allocations: 0 / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/0.563, allocations: 77.41 kB / 0.9519 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.563, allocations: 51.41 kB / 0.952 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.5631, allocations: 105.2 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.5631, allocations: 25.7 kB / 0.9521 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.5631, allocations: 85.33 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.5631, allocations: 5.094 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.5631, allocations: 19.3 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.5632, allocations: 316.1 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.5633, allocations: 12.89 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.048e-05/0.5634, allocations: 18.3 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.5635, allocations: 44.09 kB / 0.9526 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5635, allocations: 7.938 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001694/0.5637, allocations: 68.02 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5637, allocations: 6.094 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5637, allocations: 3.938 kB / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5637, allocations: 3.984 kB / 0.9526 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.5638, allocations: 6.25 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.5638, allocations: 0 / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.5639, allocations: 12.11 kB / 0.9527 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.5639, allocations: 1.219 kB / 0.9527 GB, free: 6.035 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 4.687e-05/0.5639, allocations: 115 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.564, allocations: 1.344 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.564, allocations: 8.156 kB / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.564, allocations: 0 / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.564, allocations: 1.656 kB / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.564, allocations: 3.984 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.5641, allocations: 158 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5641, allocations: 5.438 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.5642, allocations: 12.58 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5642, allocations: 5.281 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.5642, allocations: 0 / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5642, allocations: 1.25 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5642, allocations: 0 / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.5644, allocations: 163.4 kB / 0.9531 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.5644, allocations: 82.33 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.5645, allocations: 0 / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.5645, allocations: 11.7 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.5646, allocations: 1.281 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.5646, allocations: 1.469 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.5646, allocations: 82.59 kB / 0.9533 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5646, allocations: 0 / 0.9533 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002152/0.5648, allocations: 4.656 kB / 0.9533 GB, free: 5.352 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.0003664/0.5652, allocations: 0.7037 MB / 0.954 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.5654, allocations: 37.94 kB / 0.954 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5654, allocations: 0 / 0.954 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.5655, allocations: 19.17 kB / 0.954 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.5658, allocations: 12.27 kB / 0.954 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.5662, allocations: 133.1 kB / 0.9542 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.24e-05/0.5663, allocations: 0.6849 MB / 0.9548 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.5663, allocations: 5.531 kB / 0.9548 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.5663, allocations: 8.75 kB / 0.9549 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5663, allocations: 0 / 0.9549 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4941/1.06, allocations: 1.148 MB / 0.956 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/1.061, allocations: 222.2 kB / 0.9562 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.796, allocations: 0 / 0.9562 GB, free: 2.926 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