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.001728/0.001728, allocations: 109.1 kB / 18.94 MB, free: 2.797 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.002293/0.002293, allocations: 219.6 kB / 22.26 MB, free: 5.207 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.984 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.956/2.956, allocations: 476.7 MB / 0.7707 GB, free: 4.25 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.00204/0.00204, allocations: 65.73 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3485, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00244/0.351, allocations: 0.791 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3525, allocations: 0.89 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.3526, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.3527, allocations: 15.86 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3528, allocations: 7.938 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.353, allocations: 47.88 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3531, allocations: 79.83 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3532, allocations: 23.92 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3534, allocations: 35.91 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3535, allocations: 47.83 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.3535, allocations: 11.94 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.3535, allocations: 8 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.3536, allocations: 23.91 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.3536, allocations: 39.8 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3538, allocations: 91.17 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3538, allocations: 3.938 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3538, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3538, allocations: 0 / 1.285 GB, free: 9.617 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.0007362/0.3545, allocations: 314 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3546, allocations: 12.03 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.3546, allocations: 38.69 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3547, allocations: 12.89 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3548, allocations: 126.4 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3548, allocations: 384 / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3549, allocations: 8.125 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.3552, allocations: 104.2 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.3552, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3552, allocations: 4 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3552, allocations: 4 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.3556, allocations: 99.84 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.3562, allocations: 315.8 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.3568, allocations: 118.5 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.357, allocations: 56.81 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.357, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.357, allocations: 34.56 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.357, allocations: 0 / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006879/0.3577, allocations: 189.5 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3578, allocations: 55.34 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3579, allocations: 129.7 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3579, allocations: 29.7 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.358, allocations: 92.08 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.358, allocations: 27.78 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.3581, allocations: 25.7 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3582, allocations: 318.8 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3584, allocations: 43.95 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.3586, allocations: 43.95 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.3589, allocations: 96.78 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3589, allocations: 4 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000436/0.3593, allocations: 141.5 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3594, allocations: 4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3594, allocations: 8 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3594, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3595, allocations: 27.91 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3596, allocations: 3.938 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3597, allocations: 15.94 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3597, allocations: 3.984 kB / 1.288 GB, free: 6.965 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.493e-05/0.3598, allocations: 113.8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.3598, allocations: 8 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.3598, allocations: 8.375 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3598, allocations: 4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3598, allocations: 3.938 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3598, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.3601, allocations: 176.6 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3601, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3602, allocations: 23.97 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3602, allocations: 7.938 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3603, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3603, allocations: 4 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3603, allocations: 3.938 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.3607, allocations: 231.9 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.3608, allocations: 8 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3608, allocations: 3.984 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3609, allocations: 15.98 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.361, allocations: 23.91 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.361, allocations: 4 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.68e-05/0.3611, allocations: 95.2 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3611, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000247/0.3613, allocations: 19.95 kB / 1.289 GB, free: 6.152 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.0007967/0.3621, allocations: 0.7671 MB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.3626, allocations: 103.9 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3626, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.3628, allocations: 63.89 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3631, allocations: 17.95 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3654, allocations: 1.537 MB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3657, allocations: 0.6885 MB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.3657, allocations: 16.17 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.3658, allocations: 27.42 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3658, allocations: 3.938 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.3956, allocations: 2.843 MB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.44, allocations: 2.844 kB / 1.294 GB, free: 96 kB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.410510858055204]