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.00149/0.00149, allocations: 102.7 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.001459/0.001459, 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.157/3.157, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.002066/0.002066, allocations: 64.88 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002357/0.3831, allocations: 0.7859 MB / 1.322 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3845, allocations: 0.8938 MB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.3845, allocations: 0 / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.378e-05/0.3846, allocations: 7.875 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.3847, allocations: 15.84 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.3848, allocations: 31.97 kB / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.385, allocations: 91.75 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3851, allocations: 15.98 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.3852, allocations: 43.91 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.3853, allocations: 47.81 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.3853, allocations: 8 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.3854, allocations: 8 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3854, allocations: 19.92 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.3854, allocations: 35.78 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3856, allocations: 87.89 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3856, allocations: 4 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.417e-06/0.3856, allocations: 7.922 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3856, allocations: 0 / 1.323 GB, free: 1.219 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.0007176/0.3863, allocations: 395.1 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3864, allocations: 11.98 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.3864, allocations: 46.73 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3865, allocations: 8.891 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.3866, allocations: 176.3 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3866, allocations: 4.375 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3867, allocations: 8.125 kB / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.387, allocations: 117.5 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.387, allocations: 0 / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.387, allocations: 4 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.387, allocations: 4 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.3874, allocations: 91.91 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.3881, allocations: 344.6 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.3887, allocations: 114.5 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3889, allocations: 60.86 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.3889, allocations: 11.98 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.389, allocations: 30.56 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.389, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007134/0.3897, allocations: 181.4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3897, allocations: 59.41 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3898, allocations: 125.8 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3899, allocations: 25.7 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.3899, allocations: 96.08 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.39, allocations: 19.8 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.39, allocations: 25.7 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3902, allocations: 318.8 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3903, allocations: 47.95 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.3905, allocations: 43.95 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.3909, allocations: 100.8 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3909, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004504/0.3914, allocations: 133.5 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3914, allocations: 8 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3914, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3914, allocations: 3.938 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3916, allocations: 27.97 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3916, allocations: 3.938 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3917, allocations: 19.94 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3917, allocations: 7.984 kB / 1.325 GB, free: 14.36 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.0001111/0.3918, allocations: 109.8 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.3919, allocations: 4 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.3919, allocations: 16.31 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3919, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3919, allocations: 3.938 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3919, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3922, allocations: 201.6 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3922, allocations: 7.938 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.3924, allocations: 27.97 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3924, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3924, allocations: 4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3924, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.3924, allocations: 4.484 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.3929, allocations: 239.4 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.3929, allocations: 89.03 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.393, allocations: 4 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3931, allocations: 11.98 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.3932, allocations: 27.91 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3932, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.721e-05/0.3933, allocations: 99.64 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3933, allocations: 4 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002476/0.3935, allocations: 19.95 kB / 1.326 GB, free: 13.41 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.0009015/0.3944, allocations: 0.7632 MB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.3949, allocations: 107.8 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3949, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3951, allocations: 59.95 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3954, allocations: 17.97 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3978, allocations: 1.528 MB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3982, allocations: 0.6963 MB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.418e-05/0.3982, allocations: 8 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3983, allocations: 35.41 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3983, allocations: 0 / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.426, allocations: 2.706 MB / 1.332 GB, free: 7.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.541, allocations: 6.906 kB / 1.332 GB, free: 7.449 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.23279304197058]