Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001063/0.001063, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009433/0.0009433, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.629/1.629, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.166e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001096/0.001108, allocations: 0.7052 MB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.00181, allocations: 0.8471 MB / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.001841, allocations: 4 kB / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.001866, allocations: 3.938 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.001927, allocations: 7.938 kB / 0.952 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.00205, allocations: 19.92 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.002126, allocations: 55.83 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.002216, allocations: 4 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.002282, allocations: 27.97 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.002331, allocations: 23.91 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.002352, allocations: 4 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.002361, allocations: 4 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.002376, allocations: 11.92 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.002397, allocations: 15.92 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.002481, allocations: 55.84 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002484, allocations: 4 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002485, allocations: 3.938 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002488, allocations: 0 / 0.9523 GB, free: 1.645 MB / 0.9011 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.0003341/0.002822, allocations: 276 kB / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.002855, allocations: 8.031 kB / 0.9525 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.002883, allocations: 42.67 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.002903, allocations: 8.891 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.002983, allocations: 105.8 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.002996, allocations: 8.359 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.003005, allocations: 4.375 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.003136, allocations: 73.91 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.003142, allocations: 0 / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.003154, allocations: 4 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.003158, allocations: 0 / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.003267, allocations: 47.94 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.003569, allocations: 255.8 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.003692, allocations: 74.47 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.003752, allocations: 32.92 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.003765, allocations: 0 / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.003783, allocations: 30.56 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.003783, allocations: 0 / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002473/0.004031, allocations: 109.6 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.004061, allocations: 59.41 kB / 0.9533 GB, free: 388 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.004116, allocations: 105.8 kB / 0.9534 GB, free: 272 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.004126, allocations: 29.64 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.00416, allocations: 88.09 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.004173, allocations: 7.953 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.004201, allocations: 21.7 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.004406, allocations: 318.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.00446, allocations: 27.97 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.004506, allocations: 19.98 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.004604, allocations: 52.81 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004605, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.004728, allocations: 89.59 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.004741, allocations: 14.28 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004745, allocations: 0 / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.004755, allocations: 0 / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.004828, allocations: 15.92 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.004834, allocations: 8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.004863, allocations: 7.984 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.004869, allocations: 4 kB / 0.9541 GB, free: 15.54 MB / 0.9167 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 5.636e-05/0.004925, allocations: 113.8 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.004938, allocations: 4.328 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.004956, allocations: 8 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.004959, allocations: 3.984 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.004962, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.004965, allocations: 3.984 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.005073, allocations: 148.6 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.005073, allocations: 4 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.005109, allocations: 11.98 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.005111, allocations: 4 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.005117, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005118, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005118, allocations: 320 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.005268, allocations: 187.3 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.005275, allocations: 4 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.005284, allocations: 7.984 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.22e-05/0.005327, allocations: 4 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.005369, allocations: 11.98 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.005372, allocations: 0 / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.0054, allocations: 95.25 kB / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.0054, allocations: 0 / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001406/0.00554, allocations: 7.953 kB / 0.9547 GB, free: 14.86 MB / 0.9167 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.0002967/0.005837, allocations: 0.7169 MB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.005979, allocations: 59.94 kB / 0.9555 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.005981, allocations: 0 / 0.9555 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.006035, allocations: 27.97 kB / 0.9555 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.006216, allocations: 8.078 kB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008931/0.007109, allocations: 1.338 MB / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.007148, allocations: 67.34 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.007176, allocations: 4 kB / 0.9569 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.007218, allocations: 20.48 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.007218, allocations: 8 kB / 0.9569 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.02383, allocations: 2.548 MB / 0.9594 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.872, allocations: 5.953 kB / 0.9594 GB, free: 10.08 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.719122072681785]