Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.0007947/0.0007947, 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.0008306/0.0008306, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8884/0.8884, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.732/1.732, 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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.813e-05, allocations: 5.375 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001377/0.001395, allocations: 0.7524 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.002424, allocations: 0.8867 MB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.00247, allocations: 4 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.002502, allocations: 7.875 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.002585, allocations: 15.86 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.002768, allocations: 35.89 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.002879, allocations: 91.75 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.002991, allocations: 23.92 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.003078, allocations: 47.89 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.003139, allocations: 39.94 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.003167, allocations: 12 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.003178, allocations: 8 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.003201, allocations: 23.91 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.003228, allocations: 19.92 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003349, allocations: 103.6 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003352, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003353, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003357, allocations: 0 / 1.002 GB, free: 11.39 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.0004261/0.003783, allocations: 318 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 0.0003135/0.004097, allocations: 8.75 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.004132, allocations: 42.75 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.004159, allocations: 8.891 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.004256, allocations: 113.7 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.004274, allocations: 12.36 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.004286, allocations: 4.375 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.004491, allocations: 113.9 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.004498, allocations: 0 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.004508, allocations: 0 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004513, allocations: 3.938 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.004705, allocations: 99.91 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.005074, allocations: 295.8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.005417, allocations: 114.6 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.005517, allocations: 64.8 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.005533, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.005548, allocations: 30.56 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.005549, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003638/0.005913, allocations: 181.5 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.005939, allocations: 59.39 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.006006, allocations: 117.8 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006017, allocations: 25.7 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.006057, allocations: 104 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.006075, allocations: 15.89 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.006111, allocations: 29.7 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.006182, allocations: 314.8 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.006277, allocations: 43.95 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.006365, allocations: 56.25 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.006535, allocations: 96.92 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006537, allocations: 7.875 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002055/0.006742, allocations: 137.5 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.006755, allocations: 8 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006759, allocations: 0 / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.006772, allocations: 0 / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.006846, allocations: 23.97 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.006851, allocations: 0 / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.006901, allocations: 15.98 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.006907, allocations: 3.938 kB / 1.004 GB, free: 8.777 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,sub.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.648e-05/0.006974, allocations: 125.8 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.00699, allocations: 11.94 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.007009, allocations: 16.38 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007011, allocations: 0 / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.007015, allocations: 0 / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007018, allocations: 4 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.007138, allocations: 168.5 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.007138, allocations: 0 / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.0072, allocations: 23.97 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.007201, allocations: 0 / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.007217, allocations: 11.98 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.007217, allocations: 0 / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007218, allocations: 0 / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.00745, allocations: 231.4 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.00746, allocations: 3.953 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.007473, allocations: 4 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.007533, allocations: 11.98 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.007589, allocations: 31.91 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.007594, allocations: 3.984 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.007627, allocations: 91.28 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007627, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001454/0.007772, 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 (sub.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.000412/0.008184, allocations: 0.767 MB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.00841, allocations: 107.8 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.008411, allocations: 0 / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.008517, allocations: 55.94 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.0002051/0.008722, allocations: 10.33 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.00994, allocations: 1.553 MB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.009987, allocations: 79.52 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.01003, allocations: 12 kB / 1.007 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.01009, allocations: 36.41 kB / 1.007 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01009, allocations: 3.938 kB / 1.007 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.02808, allocations: 3.479 MB / 1.011 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/6.618, allocations: 14.77 kB / 1.011 GB, free: 1.871 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.608538907021284]