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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001531/0.001531, allocations: 213.9 kB / 22.25 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.801 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.25/3.25, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.002065/0.002065, allocations: 69.19 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002066/0.3542, allocations: 0.7631 MB / 1.326 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3554, allocations: 0.8898 MB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.3554, allocations: 0 / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.3555, allocations: 3.938 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.271e-05/0.3556, allocations: 23.86 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.3557, allocations: 35.95 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3558, allocations: 79.81 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3559, allocations: 24.2 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.356, allocations: 35.91 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.3561, allocations: 43.83 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.3561, allocations: 8 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.3562, allocations: 8 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.3562, allocations: 19.91 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.3562, allocations: 31.86 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3564, allocations: 95.59 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3564, allocations: 0 / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3564, allocations: 3.938 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3564, allocations: 0 / 1.327 GB, free: 320 kB / 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.0006386/0.357, allocations: 322 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3571, allocations: 8.031 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.3571, allocations: 42.75 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.3571, allocations: 8.891 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3573, allocations: 122.4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3573, allocations: 12.38 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3573, allocations: 12.06 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.3576, allocations: 102.6 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3576, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3576, allocations: 11.94 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3576, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.358, allocations: 95.91 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.3585, allocations: 295.8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.3592, allocations: 114.6 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3594, allocations: 52.81 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3594, allocations: 4 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3594, allocations: 34.56 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3594, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006761/0.3601, allocations: 189.4 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3601, allocations: 51.41 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3602, allocations: 129.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.3603, allocations: 25.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.3603, allocations: 100.1 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3604, allocations: 23.78 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3604, allocations: 21.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3606, allocations: 322.8 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3608, allocations: 43.95 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3609, allocations: 43.95 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.3613, allocations: 100.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3613, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004194/0.3617, allocations: 141.5 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3617, allocations: 5.875 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3617, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3617, allocations: 8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3619, allocations: 23.97 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3619, allocations: 4.484 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.362, allocations: 15.94 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.362, allocations: 3.984 kB / 1.329 GB, free: 13.68 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 9.884e-05/0.3621, allocations: 118.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3622, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.3622, allocations: 8.375 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3622, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3622, allocations: 7.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3622, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3624, allocations: 160.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3624, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.3626, allocations: 23.97 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3626, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3626, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3626, allocations: 3.938 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.3631, allocations: 247.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.3631, allocations: 11.92 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3631, allocations: 3.938 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3633, allocations: 11.98 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.3633, allocations: 23.91 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3633, allocations: 7.984 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.063e-05/0.3634, allocations: 103.2 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3634, allocations: 4 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002327/0.3636, allocations: 15.95 kB / 1.33 GB, free: 12.86 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.0007878/0.3644, allocations: 0.7593 MB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.3649, allocations: 107.8 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3649, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.3651, allocations: 55.94 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3654, allocations: 11.94 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3676, allocations: 1.533 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.3677, allocations: 75.33 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.937e-05/0.3678, allocations: 12 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.3679, allocations: 31.41 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.3679, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.3996, allocations: 3.36 MB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.9, allocations: 9.781 kB / 1.336 GB, free: 6.922 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.848857069853693]