Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 113 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.168/3.168, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 68.16 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3814, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002351/0.3838, allocations: 0.7122 MB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3851, allocations: 0.8631 MB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.3852, allocations: 0 / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.3852, allocations: 7.922 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3853, allocations: 3.938 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.3855, allocations: 19.92 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3856, allocations: 51.84 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3857, allocations: 19.97 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.3858, allocations: 15.94 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.3859, allocations: 27.91 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3859, allocations: 4 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.3859, allocations: 4 kB / 1.323 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.3859, allocations: 7.984 kB / 1.323 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.386, allocations: 19.86 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3861, allocations: 48.08 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3861, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.093e-06/0.3861, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.3861, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 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.0006709/0.3868, allocations: 361 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3868, allocations: 15.92 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.3869, allocations: 38.75 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3869, allocations: 4.875 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.3871, allocations: 180.2 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3871, allocations: 384 / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3872, allocations: 12.12 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3874, allocations: 77.62 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3874, allocations: 0 / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3874, allocations: 0 / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3874, allocations: 0 / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.3876, allocations: 47.95 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.3882, allocations: 284.8 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3884, allocations: 66.53 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3885, allocations: 32.92 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3885, allocations: 3.984 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3886, allocations: 34.55 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3886, allocations: 0 / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.000474/0.389, allocations: 117.5 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3891, allocations: 51.41 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3892, allocations: 109.8 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3892, allocations: 25.7 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.3893, allocations: 84.14 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3893, allocations: 11.91 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.3894, allocations: 21.7 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3895, allocations: 318.8 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3896, allocations: 23.97 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.3897, allocations: 23.98 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3899, allocations: 52.81 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3899, allocations: 3.938 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002692/0.3902, allocations: 89.64 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3902, allocations: 4 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.3902, allocations: 4 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3902, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3904, allocations: 15.98 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3904, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3905, allocations: 19.81 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3905, allocations: 3.938 kB / 1.325 GB, free: 15.21 MB / 1.029 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 0.0001034/0.3906, allocations: 117.8 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.3906, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.3907, allocations: 7.891 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3907, allocations: 4 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3907, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3907, allocations: 3.938 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3909, allocations: 177.7 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3909, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.391, allocations: 19.91 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.391, allocations: 4 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.391, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.391, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.391, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3914, allocations: 183.4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.3914, allocations: 81.11 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3915, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3916, allocations: 11.98 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.3916, allocations: 12.36 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3916, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.3917, allocations: 91.22 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3917, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002246/0.3919, allocations: 4 kB / 1.325 GB, free: 14.4 MB / 1.029 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.00071/0.3926, allocations: 0.7319 MB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.3929, allocations: 47.95 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3929, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.393, allocations: 39.91 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3934, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3952, allocations: 1.327 MB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3955, allocations: 0.6807 MB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.433e-05/0.3956, allocations: 7.984 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.3957, allocations: 19.44 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.3957, allocations: 0 / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.4218, allocations: 1.846 MB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.578, allocations: 12.39 kB / 1.33 GB, free: 9.656 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.298337697051466]