Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_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.0008915/0.0008914, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001022/0.001022, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.311/2.311, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 11.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7214, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.0007846/0.7222, allocations: 428.7 kB / 0.9556 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.723, allocations: 0.828 MB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.723, allocations: 0.9062 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.7231, allocations: 7.938 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.7231, allocations: 9.109 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.7233, allocations: 20.61 kB / 0.9564 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.7233, allocations: 41.25 kB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.7235, allocations: 10.66 kB / 0.9565 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.7235, allocations: 13.86 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.7236, allocations: 26.67 kB / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.7236, allocations: 10.03 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.7236, allocations: 1.219 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.7237, allocations: 10 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.7237, allocations: 40.84 kB / 0.9566 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.892e-05/0.7238, allocations: 43.47 kB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7238, allocations: 1.125 kB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7238, allocations: 0 / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.7238, allocations: 0 / 0.9566 GB, free: 6.555 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003771/0.7242, allocations: 352.9 kB / 0.957 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7242, allocations: 9.969 kB / 0.957 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.7243, allocations: 39.8 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.7243, allocations: 6.812 kB / 0.957 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.7244, allocations: 163.4 kB / 0.9572 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.7244, allocations: 2.344 kB / 0.9572 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.7244, allocations: 2.438 kB / 0.9572 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.7246, allocations: 80.47 kB / 0.9573 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7246, allocations: 1.344 kB / 0.9573 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7247, allocations: 7.938 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7247, allocations: 1.312 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.7249, allocations: 60.53 kB / 0.9573 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.7252, allocations: 293.7 kB / 0.9576 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.7254, allocations: 73.19 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.7255, allocations: 41.66 kB / 0.9577 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.7255, allocations: 1.188 kB / 0.9577 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.7255, allocations: 34.56 kB / 0.9577 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.7255, allocations: 1.188 kB / 0.9577 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004019/0.726, allocations: 119.5 kB / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.726, allocations: 52.84 kB / 0.9579 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.7261, allocations: 118.8 kB / 0.958 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.7261, allocations: 29.64 kB / 0.9581 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.7261, allocations: 90.78 kB / 0.9581 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.7261, allocations: 14.59 kB / 0.9582 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.7262, allocations: 11 kB / 0.9582 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.7262, allocations: 324.4 kB / 0.9585 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.7263, allocations: 28.98 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.7264, allocations: 33.16 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.7266, allocations: 64.56 kB / 0.9586 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7266, allocations: 1.5 kB / 0.9586 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002327/0.7268, allocations: 93.81 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7269, allocations: 7.188 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7269, allocations: 0 / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7269, allocations: 0 / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.727, allocations: 19.2 kB / 0.9587 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.727, allocations: 3.984 kB / 0.9587 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.7271, allocations: 10.31 kB / 0.9587 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.7271, allocations: 1.531 kB / 0.9587 GB, free: 4.555 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.262e-05/0.7272, allocations: 120.4 kB / 0.9588 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.7272, allocations: 1.219 kB / 0.9588 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.7272, allocations: 8.969 kB / 0.9588 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7273, allocations: 1.281 kB / 0.9589 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7273, allocations: 0 / 0.9589 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7273, allocations: 1.156 kB / 0.9589 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.7274, allocations: 178.7 kB / 0.959 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7274, allocations: 5.062 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.7275, allocations: 15.05 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7275, allocations: 1.5 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.7275, allocations: 0 / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7275, allocations: 0 / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7275, allocations: 1.438 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.7278, allocations: 210.3 kB / 0.9592 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.7278, allocations: 77.48 kB / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.7278, allocations: 1.781 kB / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.7279, allocations: 9.359 kB / 0.9593 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.728, allocations: 15.58 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.728, allocations: 5.797 kB / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.728, allocations: 85.2 kB / 0.9594 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.728, allocations: 0 / 0.9594 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002089/0.7283, allocations: 14.94 kB / 0.9594 GB, free: 3.816 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000443/0.7287, allocations: 0.7266 MB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.729, allocations: 67.83 kB / 0.9602 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.729, allocations: 3.938 kB / 0.9602 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.7291, allocations: 35.34 kB / 0.9603 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.7294, allocations: 6.734 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.7306, allocations: 1.363 MB / 0.9616 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.7308, allocations: 0.6851 MB / 0.9623 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.7308, allocations: 3.75 kB / 0.9623 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.7309, allocations: 18.45 kB / 0.9623 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.7309, allocations: 0 / 0.9623 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.743, allocations: 1.514 MB / 0.9638 GB, free: 368 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.7432, allocations: 208.4 kB / 0.964 GB, free: 108 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.38, allocations: 3.938 kB / 0.964 GB, free: 104 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches