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.001701/0.001701, 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.001936/0.001936, allocations: 211.7 kB / 22.24 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.742 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.353/3.353, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002161/0.002161, allocations: 68.86 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3597, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002371/0.3621, allocations: 0.7515 MB / 1.326 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3634, allocations: 0.89 MB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.3634, allocations: 0 / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.3635, allocations: 11.81 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.3636, allocations: 15.86 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.3637, allocations: 35.95 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3639, allocations: 79.83 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.364, allocations: 16.27 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3641, allocations: 43.83 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.3642, allocations: 47.83 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3642, allocations: 8 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.3643, allocations: 8 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.3643, allocations: 23.91 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.3643, allocations: 27.86 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3645, allocations: 87.66 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3645, allocations: 0 / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3645, allocations: 3.938 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3645, allocations: 0 / 1.327 GB, free: 348 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.0006859/0.3652, allocations: 330 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3653, allocations: 8.031 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.3653, allocations: 34.75 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3653, allocations: 8.891 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3655, allocations: 126.3 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3655, allocations: 8.359 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3655, allocations: 12.12 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.3659, allocations: 101.6 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3659, allocations: 3.938 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3659, allocations: 8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3659, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.3663, allocations: 95.91 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.3669, allocations: 287.8 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.3675, allocations: 126.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.3677, allocations: 52.8 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3677, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3678, allocations: 34.56 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3678, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000708/0.3685, allocations: 189.4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3685, allocations: 51.41 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3686, allocations: 126.1 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3687, allocations: 25.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.3687, allocations: 100.1 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3688, allocations: 15.84 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.3688, allocations: 21.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.369, allocations: 318.8 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3691, allocations: 47.95 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.3693, allocations: 51.94 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.3697, allocations: 92.78 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3697, allocations: 3.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004555/0.3701, allocations: 149.5 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3702, allocations: 5.875 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3702, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3702, allocations: 4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.3704, allocations: 23.97 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3704, allocations: 3.938 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3705, allocations: 15.94 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3705, allocations: 4 kB / 1.329 GB, free: 13.71 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.0001133/0.3706, allocations: 124.1 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.3706, allocations: 4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.3707, allocations: 8.375 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3707, allocations: 4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3707, allocations: 3.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3707, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.3709, allocations: 152.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3709, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.3711, allocations: 31.84 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3711, allocations: 8 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3711, allocations: 7.984 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3711, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3711, allocations: 7.922 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.3716, allocations: 231.4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.3716, allocations: 7.938 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3716, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3718, allocations: 19.98 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/0.3719, allocations: 23.91 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3719, allocations: 7.984 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.3719, allocations: 95.33 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3719, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002419/0.3722, allocations: 15.95 kB / 1.33 GB, free: 12.9 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.0008296/0.373, allocations: 0.7736 MB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.3734, allocations: 107.9 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3734, allocations: 3.938 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.3737, allocations: 59.94 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.374, allocations: 15.94 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.3764, allocations: 1.529 MB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.422e-05/0.3765, allocations: 75.33 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.692e-05/0.3766, allocations: 12 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.3767, allocations: 31.36 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.3767, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.4081, allocations: 3.354 MB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 4.062 kB / 1.336 GB, free: 6.953 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 & /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: 18.684665613807738]