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.001308/0.001308, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001675/0.001675, allocations: 216 kB / 22.24 MB, free: 5.258 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.809 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.156/3.156, allocations: 0.49 GB / 0.7951 GB, free: 35.37 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.002239/0.002239, allocations: 75.03 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3953, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002192/0.3975, allocations: 0.6934 MB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3987, allocations: 0.8626 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.3987, allocations: 7.938 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.3988, allocations: 3.938 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.3989, allocations: 3.938 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.399, allocations: 23.95 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3991, allocations: 43.92 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3992, allocations: 11.98 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.3993, allocations: 27.91 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.3994, allocations: 19.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3994, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.3994, allocations: 8 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.3994, allocations: 19.86 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.3995, allocations: 11.94 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3996, allocations: 48.06 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3996, allocations: 3.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3996, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3996, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0005804/0.4002, allocations: 286.2 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4002, allocations: 12.03 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.4003, allocations: 30.75 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.4003, allocations: 0.9375 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4004, allocations: 122.4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4005, allocations: 4.375 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.4005, allocations: 8.109 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.4007, allocations: 69.59 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4007, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4007, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4007, allocations: 4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.4009, allocations: 51.95 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.4014, allocations: 251.9 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.4016, allocations: 66.52 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4017, allocations: 32.88 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4017, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4018, allocations: 38.56 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.4018, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004377/0.4022, allocations: 109.6 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4022, allocations: 55.34 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.4023, allocations: 105.8 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4024, allocations: 29.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.4024, allocations: 88.12 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4024, allocations: 11.84 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.4025, allocations: 25.72 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4026, allocations: 318.8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4027, allocations: 27.92 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.4028, allocations: 23.97 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.403, allocations: 52.81 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.403, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002567/0.4033, allocations: 93.53 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4033, allocations: 5.719 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4033, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4033, allocations: 3.984 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.4034, allocations: 15.98 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4034, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.4035, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.4035, allocations: 4.25 kB / 1.329 GB, free: 13.61 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 9.692e-05/0.4036, allocations: 118.4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.4037, allocations: 7.953 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.4037, allocations: 12.33 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4037, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4037, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4037, allocations: 3.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4039, allocations: 136.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4039, allocations: 3.984 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.404, allocations: 15.98 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.404, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.404, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.404, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.404, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.4044, allocations: 191.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-06/0.4044, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4044, allocations: 4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.4045, allocations: 7.984 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.4046, allocations: 7.984 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.4046, allocations: 4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.4046, allocations: 95.19 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4046, allocations: 4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000225/0.4049, allocations: 8 kB / 1.33 GB, free: 12.91 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.0006536/0.4055, allocations: 0.7163 MB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.4058, allocations: 47.95 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4058, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4059, allocations: 35.97 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4062, allocations: 15.94 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.408, allocations: 1.331 MB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.329e-05/0.4081, allocations: 67.33 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.4081, allocations: 8 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.4082, allocations: 15.44 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4082, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.4368, allocations: 2.436 MB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 8 kB / 1.335 GB, free: 8.254 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.315342888003215]