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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009919/0.0009919, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008247/0.008248, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 16.09 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2604, allocations: 159.6 MB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.0007872/0.2613, allocations: 408.5 kB / 1.059 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.2621, allocations: 0.7923 MB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.2622, allocations: 0 / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.2622, allocations: 0 / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.2623, allocations: 11.94 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.342e-05/0.2623, allocations: 3.984 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.05e-05/0.2624, allocations: 23.94 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.261e-05/0.2625, allocations: 11.98 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.2625, allocations: 11.88 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.2626, allocations: 11.92 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2626, allocations: 0 / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.2626, allocations: 4 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.2626, allocations: 4 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.2627, allocations: 33.64 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.553e-05/0.2627, allocations: 23.94 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.2627, allocations: 4 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2627, allocations: 3.938 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2627, allocations: 0 / 1.06 GB, free: 3.453 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.0003843/0.2631, allocations: 335.8 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2632, allocations: 11.97 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.2632, allocations: 38.75 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.2632, allocations: 8.844 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2633, allocations: 164.4 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.2634, allocations: 384 / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.2634, allocations: 4.375 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.2635, allocations: 54.19 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2636, allocations: 3.938 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.2636, allocations: 3.984 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2636, allocations: 4 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2638, allocations: 39.97 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.264, allocations: 240.9 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2642, allocations: 58.47 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.2643, allocations: 28.91 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.2643, allocations: 0 / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2643, allocations: 34.56 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2643, allocations: 0 / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.2647, allocations: 105.7 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2647, allocations: 51.41 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.2648, allocations: 105.8 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2648, allocations: 25.7 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.2649, allocations: 91.98 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.2649, allocations: 0 / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.2649, allocations: 9.719 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.265, allocations: 318.8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.2651, allocations: 24.02 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.2652, allocations: 19.98 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2653, allocations: 52.89 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2654, allocations: 3.938 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.2656, allocations: 81.56 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2656, allocations: 8 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2656, allocations: 3.938 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.2656, allocations: 3.938 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.2657, allocations: 15.92 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2657, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.2658, allocations: 11.98 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.2658, allocations: 0 / 1.062 GB, free: 1.293 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 6.906e-05/0.2658, allocations: 113.8 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.2659, allocations: 8 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.498e-05/0.2659, allocations: 3.125 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2659, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2659, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.2659, allocations: 0 / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.2661, allocations: 161.8 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2661, allocations: 4 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.2661, allocations: 12 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2661, allocations: 4 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2662, allocations: 3.984 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2662, allocations: 0 / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2662, allocations: 0 / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.2664, allocations: 175.4 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.2665, allocations: 92.94 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.2665, allocations: 0 / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.2665, allocations: 4 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.2666, allocations: 7.984 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.2666, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.2666, allocations: 87.31 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2666, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002294/0.2669, allocations: 4 kB / 1.063 GB, free: 0.5352 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.0005162/0.2674, allocations: 0.7046 MB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.2676, allocations: 51.89 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2676, allocations: 4.094 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.2677, allocations: 23.98 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.268, allocations: 1.375 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.2683, allocations: 146.2 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2685, allocations: 0.681 MB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.885e-05/0.2686, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.2686, allocations: 11.44 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2686, allocations: 0 / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009607/0.2782, allocations: 1.047 MB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.2784, allocations: 217 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.794, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 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