Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001841/0.001841, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002145/0.002145, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.283/3.283, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_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.002054/0.002054, allocations: 69.36 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3732, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002231/0.3755, allocations: 0.7709 MB / 1.322 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3766, allocations: 0.8977 MB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3766, allocations: 4 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.3767, allocations: 7.875 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.3768, allocations: 11.88 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3769, allocations: 39.94 kB / 1.323 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3771, allocations: 87.75 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3772, allocations: 12 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.3773, allocations: 43.89 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.3774, allocations: 43.83 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3774, allocations: 8 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.3774, allocations: 8 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.3775, allocations: 27.92 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.3775, allocations: 43.77 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3777, allocations: 83.89 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3777, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3777, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3777, allocations: 0 / 1.323 GB, free: 1.266 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00068/0.3783, allocations: 399.1 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3784, allocations: 11.98 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.3784, allocations: 50.67 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3785, allocations: 12.88 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3786, allocations: 168.3 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3786, allocations: 8.375 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3787, allocations: 8.125 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.379, allocations: 109.5 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.379, allocations: 0 / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.379, allocations: 7.922 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.379, allocations: 8 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.3794, allocations: 95.91 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.38, allocations: 344.6 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.3806, allocations: 122.6 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3808, allocations: 52.81 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3808, allocations: 4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3809, allocations: 30.56 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3809, allocations: 4 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006813/0.3816, allocations: 189.4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3816, allocations: 51.41 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3817, allocations: 125.7 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3817, allocations: 25.7 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.3818, allocations: 104.1 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3818, allocations: 15.8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.3819, allocations: 25.7 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.382, allocations: 318.8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3822, allocations: 43.95 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.3824, allocations: 47.95 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.3828, allocations: 100.7 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3828, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004345/0.3832, allocations: 133.5 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3832, allocations: 14.34 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3832, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3833, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3834, allocations: 23.97 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3834, allocations: 3.938 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3836, allocations: 15.94 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3836, allocations: 8 kB / 1.325 GB, free: 14.41 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: 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 0.0001081/0.3837, allocations: 117.8 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.3837, allocations: 4 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.3837, allocations: 12.38 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3837, allocations: 3.938 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3837, allocations: 3.938 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3837, allocations: 0 / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.384, allocations: 205.5 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.384, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3841, allocations: 23.97 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3841, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3842, allocations: 4 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3842, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3842, allocations: 7.938 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3847, allocations: 235.9 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.3847, allocations: 85.05 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.3847, allocations: 7.984 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3849, allocations: 11.98 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.385, allocations: 31.84 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.385, allocations: 3.984 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.425e-05/0.385, allocations: 99.27 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.385, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002358/0.3853, allocations: 15.95 kB / 1.326 GB, free: 13.45 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: 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.0008245/0.3861, allocations: 0.771 MB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.3865, allocations: 111.8 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3865, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.3868, allocations: 59.94 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.3871, allocations: 14.19 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.3894, allocations: 1.532 MB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3897, allocations: 0.6924 MB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.256e-05/0.3897, allocations: 8 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.283e-05/0.3898, allocations: 35.41 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3898, allocations: 0 / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.4155, allocations: 2.703 MB / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.522, allocations: 8.047 kB / 1.332 GB, free: 7.484 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! Error: Could not read variable add1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv. Warning: Get data of variable add1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.62331227492541]