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.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.0009136/0.0009136, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009989/0.0009989, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.877/0.877, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.74/1.74, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.224e-06/2.224e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.589e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001655/0.001681, allocations: 0.7446 MB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.0026, allocations: 0.8867 MB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.002643, allocations: 4 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.002672, allocations: 11.88 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.002741, allocations: 15.86 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.002887, allocations: 31.95 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.002976, allocations: 83.83 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.003074, allocations: 23.86 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.003165, allocations: 59.88 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.003228, allocations: 43.81 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.003254, allocations: 8 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.003265, allocations: 8 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.003287, allocations: 15.92 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.003323, allocations: 31.91 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003444, allocations: 95.7 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003446, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003447, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.003452, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 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.0004436/0.003896, allocations: 314 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.003939, allocations: 12.73 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.003974, allocations: 38.75 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.004, allocations: 8.891 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004102, allocations: 129.5 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.004121, allocations: 12.38 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.004131, allocations: 4.375 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.004332, allocations: 109.9 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004339, allocations: 0 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004348, allocations: 0 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.004353, allocations: 0 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.004544, allocations: 99.91 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.004929, allocations: 291.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.005286, allocations: 114.6 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.005388, allocations: 56.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.005404, allocations: 8 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.005422, allocations: 38.5 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.005426, allocations: 3.984 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.000373/0.005799, allocations: 181.5 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.005826, allocations: 51.41 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.005896, allocations: 125.8 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.005907, allocations: 29.7 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.00595, allocations: 104 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.005968, allocations: 11.91 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.006003, allocations: 25.7 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.006078, allocations: 318.8 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/0.006173, allocations: 43.95 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/0.006265, allocations: 52.25 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.006442, allocations: 100.7 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006443, allocations: 0 / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002218/0.006665, allocations: 137.5 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.006679, allocations: 11.92 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.006685, allocations: 4 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006696, allocations: 4 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.006779, allocations: 23.97 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006784, allocations: 0 / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.006835, allocations: 15.98 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006842, allocations: 3.938 kB / 1.004 GB, free: 8.77 MB / 0.9636 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 6.9e-05/0.006911, allocations: 117.8 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.006929, allocations: 7.953 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.00695, allocations: 16.42 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006953, allocations: 4 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.006957, allocations: 0 / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.00696, allocations: 0 / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.007093, allocations: 160.6 kB / 1.004 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.007096, allocations: 4 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.007168, allocations: 23.97 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.00717, allocations: 0 / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.00718, allocations: 7.984 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007181, allocations: 0 / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007183, allocations: 4 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.007444, allocations: 239.2 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.007456, allocations: 7.953 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007468, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.007533, allocations: 15.98 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.007593, allocations: 23.97 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.007598, allocations: 0 / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.007635, allocations: 99.27 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007635, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001585/0.007794, allocations: 15.94 kB / 1.005 GB, free: 7.969 MB / 0.9636 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.0004529/0.008247, allocations: 0.7592 MB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.008485, allocations: 111.8 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008486, allocations: 0 / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.008588, allocations: 59.92 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.008832, allocations: 14.23 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.01011, allocations: 1.547 MB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.01016, allocations: 75.33 kB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.01021, allocations: 8 kB / 1.007 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.01027, allocations: 32.67 kB / 1.007 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.01027, allocations: 4 kB / 1.007 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.02727, allocations: 3.487 MB / 1.011 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.471/6.498, allocations: 6.172 kB / 1.011 GB, free: 1.879 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.490401663817465]