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.001583/0.001583, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001583/0.001583, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.812 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.833/2.833, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] 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.002078/0.002078, allocations: 68.83 kB / 1.117 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 169.9 MB / 1.283 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002349/0.3543, allocations: 0.7485 MB / 1.283 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3556, allocations: 0.886 MB / 1.284 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.3557, allocations: 0 / 1.284 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.3557, allocations: 3.938 kB / 1.284 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3558, allocations: 15.86 kB / 1.284 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.356, allocations: 39.95 kB / 1.284 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3562, allocations: 83.83 kB / 1.284 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3563, allocations: 19.92 kB / 1.284 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.346e-05/0.3564, allocations: 39.89 kB / 1.284 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.3565, allocations: 43.83 kB / 1.284 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.3565, allocations: 12 kB / 1.284 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/0.3565, allocations: 8 kB / 1.284 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.3565, allocations: 27.84 kB / 1.284 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.3566, allocations: 27.86 kB / 1.284 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3567, allocations: 87.94 kB / 1.285 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3568, allocations: 0 / 1.285 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3568, allocations: 3.938 kB / 1.285 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3568, allocations: 0 / 1.285 GB, free: 2.152 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.0007225/0.3575, allocations: 325.9 kB / 1.285 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3575, allocations: 12.03 kB / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/0.3576, allocations: 34.75 kB / 1.285 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.3576, allocations: 8.891 kB / 1.285 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.3578, allocations: 130.4 kB / 1.285 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3578, allocations: 4.375 kB / 1.285 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3578, allocations: 4.125 kB / 1.285 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3582, allocations: 105.6 kB / 1.285 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3582, allocations: 0 / 1.285 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3582, allocations: 0 / 1.285 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3582, allocations: 7.984 kB / 1.285 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.3586, allocations: 95.91 kB / 1.285 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.3593, allocations: 307.7 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.3599, allocations: 110.6 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3601, allocations: 60.81 kB / 1.286 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3601, allocations: 0 / 1.286 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3601, allocations: 42.5 kB / 1.286 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3601, allocations: 0 / 1.286 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006734/0.3608, allocations: 185.5 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3608, allocations: 55.39 kB / 1.286 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.361, allocations: 121.8 kB / 1.286 GB, free: 424 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.361, allocations: 25.7 kB / 1.286 GB, free: 392 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.361, allocations: 96.08 kB / 1.286 GB, free: 292 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3611, allocations: 19.78 kB / 1.286 GB, free: 272 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3611, allocations: 25.7 kB / 1.286 GB, free: 240 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3613, allocations: 318.8 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3615, allocations: 47.94 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.3617, allocations: 48.27 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.3621, allocations: 100.9 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3621, allocations: 0 / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004191/0.3625, allocations: 141.5 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3625, allocations: 4 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3625, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3625, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3627, allocations: 23.97 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3627, allocations: 7.938 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3628, allocations: 7.984 kB / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3628, allocations: 4 kB / 1.287 GB, free: 15.53 MB / 0.9981 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.0002227/0.363, allocations: 125.8 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3631, allocations: 7.953 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.3631, allocations: 12.38 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3631, allocations: 0 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3631, allocations: 7.875 kB / 1.287 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.788e-06/0.3631, allocations: 4 kB / 1.287 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.3634, allocations: 156.7 kB / 1.287 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3634, allocations: 0 / 1.287 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3636, allocations: 27.97 kB / 1.287 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3636, allocations: 3.984 kB / 1.287 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3636, allocations: 8 kB / 1.287 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3636, allocations: 0 / 1.287 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3636, allocations: 3.938 kB / 1.287 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.3642, allocations: 231.4 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.3642, allocations: 11.89 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3643, allocations: 0 / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3644, allocations: 11.98 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.3645, allocations: 27.91 kB / 1.288 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3645, allocations: 11.98 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.344e-05/0.3646, allocations: 95.2 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3646, allocations: 0 / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002258/0.3648, allocations: 12 kB / 1.288 GB, free: 14.71 MB / 0.9981 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.0008587/0.3657, allocations: 0.7748 MB / 1.288 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.3661, allocations: 103.9 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3661, allocations: 0 / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3663, allocations: 59.88 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3666, allocations: 11.94 kB / 1.289 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3692, allocations: 1.539 MB / 1.29 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.766e-05/0.3693, allocations: 79.33 kB / 1.29 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.133e-05/0.3694, allocations: 8 kB / 1.29 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.3694, allocations: 31.42 kB / 1.29 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3694, allocations: 0 / 1.29 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.4021, allocations: 3.344 MB / 1.293 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.89, allocations: 15 kB / 1.293 GB, free: 8.773 MB / 0.9981 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.408674553968012]