Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001433/0.001433, allocations: 106.6 kB / 16.45 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.001817/0.001817, 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7672 GB, free: 5.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.003664/0.003664, allocations: 63.91 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/0.8494, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002567/0.852, allocations: 0.7851 MB / 1.279 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.8535, allocations: 0.8938 MB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.8536, allocations: 0 / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.8536, allocations: 11.86 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.8537, allocations: 11.88 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.8539, allocations: 35.95 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.8541, allocations: 91.81 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.8542, allocations: 19.98 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.8543, allocations: 35.86 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.8544, allocations: 51.81 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.8544, allocations: 8 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.8544, allocations: 8 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.8545, allocations: 19.91 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.8545, allocations: 39.78 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.8547, allocations: 97.36 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8547, allocations: 0 / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8547, allocations: 0 / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8547, allocations: 4 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007275/0.8554, allocations: 395.1 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8555, allocations: 12.03 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.8555, allocations: 30.75 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.8555, allocations: 8.891 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.8557, allocations: 180.3 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.8557, allocations: 4.375 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.8558, allocations: 12.12 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.8561, allocations: 115.2 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.8561, allocations: 0 / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.8561, allocations: 0 / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8561, allocations: 0 / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.8565, allocations: 95.91 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.8571, allocations: 344.6 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.8577, allocations: 118.6 kB / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.858, allocations: 60.81 kB / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.858, allocations: 0 / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.858, allocations: 30.56 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.858, allocations: 0 / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007339/0.8587, allocations: 189.4 kB / 1.282 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.8588, allocations: 55.41 kB / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.8589, allocations: 121.8 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.8589, allocations: 29.69 kB / 1.282 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.859, allocations: 92.09 kB / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.859, allocations: 15.91 kB / 1.282 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.8591, allocations: 21.7 kB / 1.282 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8592, allocations: 322.8 kB / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.8594, allocations: 47.95 kB / 1.283 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.8596, allocations: 48.25 kB / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.86, allocations: 96.92 kB / 1.283 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.86, allocations: 4 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004323/0.8604, allocations: 141.5 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8604, allocations: 4 kB / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8604, allocations: 0 / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8604, allocations: 0 / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.8606, allocations: 23.97 kB / 1.283 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.8606, allocations: 11.94 kB / 1.283 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.8607, allocations: 23.83 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.8607, allocations: 4 kB / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.702e-05/0.8608, allocations: 121.8 kB / 1.283 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.8609, allocations: 7.953 kB / 1.283 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.8609, allocations: 12.38 kB / 1.283 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8609, allocations: 0 / 1.283 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8609, allocations: 3.938 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8609, allocations: 7.984 kB / 1.283 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.8611, allocations: 205.5 kB / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8611, allocations: 0 / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.8613, allocations: 23.97 kB / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8613, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.8613, allocations: 3.984 kB / 1.283 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8613, allocations: 4 kB / 1.283 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.8613, allocations: 3.938 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.8618, allocations: 227.5 kB / 1.283 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.8619, allocations: 85.06 kB / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.8619, allocations: 0 / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.862, allocations: 11.98 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.8621, allocations: 27.91 kB / 1.284 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.8621, allocations: 0 / 1.284 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.8622, allocations: 103.6 kB / 1.284 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8622, allocations: 0 / 1.284 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002341/0.8624, allocations: 19.95 kB / 1.284 GB, free: 7.535 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000845/0.8633, allocations: 0.7637 MB / 1.284 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.8637, allocations: 107.8 kB / 1.285 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8637, allocations: 4 kB / 1.285 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.864, allocations: 59.95 kB / 1.285 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.8643, allocations: 16.25 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.8668, allocations: 1.551 MB / 1.286 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.8672, allocations: 0.6885 MB / 1.287 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.8672, allocations: 19.92 kB / 1.287 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.8673, allocations: 27.42 kB / 1.287 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8673, allocations: 0 / 1.287 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.8915, allocations: 2.71 MB / 1.29 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.961, allocations: 9.234 kB / 1.29 GB, free: 1.551 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.398460762109607]