Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9552/0.9582, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001936/0.9602, allocations: 0.7774 MB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.9609, allocations: 0.8681 MB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.961, allocations: 0 / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.961, allocations: 7.938 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.9611, allocations: 14.05 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.9613, allocations: 43.38 kB / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.9614, allocations: 87.02 kB / 1.306 GB, free: 30.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.9615, allocations: 19.34 kB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.9616, allocations: 36.45 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.9616, allocations: 50.41 kB / 1.306 GB, free: 30.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.9617, allocations: 7.969 kB / 1.306 GB, free: 30.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.9617, allocations: 7.812 kB / 1.306 GB, free: 30.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.9617, allocations: 21.83 kB / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.9617, allocations: 39.56 kB / 1.306 GB, free: 30.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.9618, allocations: 91.77 kB / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9619, allocations: 0 / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9619, allocations: 2.531 kB / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9619, allocations: 0 / 1.306 GB, free: 30.77 MB / 1.061 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.0005279/0.9624, allocations: 391.2 kB / 1.306 GB, free: 30.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.9624, allocations: 9.344 kB / 1.306 GB, free: 30.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.9625, allocations: 37.53 kB / 1.306 GB, free: 30.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.9625, allocations: 19.72 kB / 1.306 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.9626, allocations: 177 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.9626, allocations: 6.906 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.9626, allocations: 10.69 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.9629, allocations: 101.8 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9629, allocations: 0 / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9629, allocations: 0 / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9629, allocations: 2.594 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.9632, allocations: 104.2 kB / 1.307 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.9637, allocations: 346.5 kB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.9642, allocations: 116.1 kB / 1.307 GB, free: 29.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.9644, allocations: 56.78 kB / 1.307 GB, free: 29.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.9644, allocations: 0 / 1.307 GB, free: 29.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.9644, allocations: 37.83 kB / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.9644, allocations: 0 / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005724/0.965, allocations: 190.4 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.965, allocations: 51.41 kB / 1.308 GB, free: 29.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.9651, allocations: 129.2 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.9651, allocations: 25.7 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.9651, allocations: 102.1 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.9651, allocations: 14.72 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.9652, allocations: 26.72 kB / 1.308 GB, free: 29.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.9652, allocations: 317.1 kB / 1.308 GB, free: 28.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.9654, allocations: 41.64 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.9655, allocations: 51.09 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.9658, allocations: 101.9 kB / 1.308 GB, free: 28.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9658, allocations: 3.938 kB / 1.308 GB, free: 28.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003395/0.9662, allocations: 141.5 kB / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.9662, allocations: 5.5 kB / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.9662, allocations: 4 kB / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9662, allocations: 0 / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.9664, allocations: 24.25 kB / 1.309 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9664, allocations: 3.938 kB / 1.309 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.9665, allocations: 22.62 kB / 1.309 GB, free: 28.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.9665, allocations: 0 / 1.309 GB, free: 28.77 MB / 1.061 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 5.63e-05/0.9665, allocations: 123.5 kB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.9666, allocations: 6.516 kB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.9666, allocations: 15.7 kB / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9666, allocations: 3.125 kB / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9666, allocations: 3.938 kB / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.9666, allocations: 0 / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.9667, allocations: 195.9 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9667, allocations: 3.328 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.9669, allocations: 24.03 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9669, allocations: 0 / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.9669, allocations: 2.969 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.9669, allocations: 8 kB / 1.309 GB, free: 28.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9669, allocations: 3.938 kB / 1.309 GB, free: 28.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.9673, allocations: 233 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.9673, allocations: 88.03 kB / 1.309 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.9673, allocations: 0 / 1.309 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.9674, allocations: 20.27 kB / 1.309 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.9675, allocations: 27.11 kB / 1.309 GB, free: 28.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.9675, allocations: 4 kB / 1.309 GB, free: 28.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.9675, allocations: 97.33 kB / 1.309 GB, free: 28.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9675, allocations: 0 / 1.309 GB, free: 28.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002262/0.9678, allocations: 13.56 kB / 1.309 GB, free: 28.04 MB / 1.061 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.0005355/0.9683, allocations: 0.7694 MB / 1.31 GB, free: 27.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.9687, allocations: 110.9 kB / 1.31 GB, free: 27.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9687, allocations: 0 / 1.31 GB, free: 27.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.9688, allocations: 53.95 kB / 1.31 GB, free: 27.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.9692, allocations: 16.56 kB / 1.31 GB, free: 27.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.9708, allocations: 1.546 MB / 1.312 GB, free: 26.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.9709, allocations: 0.6898 MB / 1.312 GB, free: 25.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.481e-05/0.9709, allocations: 13.36 kB / 1.313 GB, free: 25.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.971, allocations: 31.09 kB / 1.313 GB, free: 25.3 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.971, allocations: 0 / 1.313 GB, free: 25.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.9943, allocations: 2.698 MB / 1.315 GB, free: 24.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/9.144, allocations: 15.36 kB / 1.315 GB, free: 24.85 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.799394936300814]