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.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.001743/0.001743, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.002442/0.002442, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.441/1.441, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.871/2.871, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 177] 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.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 0.001956/0.001956, allocations: 67.89 kB / 1.101 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8421/0.8441, allocations: 163.8 MB / 1.261 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002038/0.8461, allocations: 0.7842 MB / 1.262 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.8472, allocations: 0.8701 MB / 1.263 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.8473, allocations: 0 / 1.263 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.8473, allocations: 7.875 kB / 1.263 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.8474, allocations: 11.88 kB / 1.263 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.8475, allocations: 39.89 kB / 1.263 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.8477, allocations: 83.88 kB / 1.263 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.8478, allocations: 27.98 kB / 1.263 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.8479, allocations: 35.84 kB / 1.263 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.848, allocations: 51.81 kB / 1.263 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.848, allocations: 8 kB / 1.263 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.848, allocations: 11.94 kB / 1.263 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.8481, allocations: 19.92 kB / 1.263 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.8481, allocations: 35.78 kB / 1.263 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.8483, allocations: 82.53 kB / 1.263 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8483, allocations: 8 kB / 1.263 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8483, allocations: 4 kB / 1.263 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8483, allocations: 0 / 1.263 GB, free: 5.023 MB / 0.9669 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.0006497/0.849, allocations: 391.1 kB / 1.263 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.849, allocations: 8.031 kB / 1.263 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.8491, allocations: 42.73 kB / 1.263 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.8491, allocations: 8.891 kB / 1.264 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.8493, allocations: 176.2 kB / 1.264 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.8493, allocations: 8.375 kB / 1.264 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.8493, allocations: 8.125 kB / 1.264 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.8496, allocations: 105.5 kB / 1.264 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.8496, allocations: 0 / 1.264 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.8497, allocations: 4 kB / 1.264 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8497, allocations: 4 kB / 1.264 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.8501, allocations: 99.89 kB / 1.264 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.8506, allocations: 352.5 kB / 1.264 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.8513, allocations: 114.6 kB / 1.264 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.8515, allocations: 60.81 kB / 1.264 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.8515, allocations: 4 kB / 1.264 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.8515, allocations: 38.5 kB / 1.264 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.8516, allocations: 0 / 1.264 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000701/0.8523, allocations: 177.5 kB / 1.265 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.8523, allocations: 59.39 kB / 1.265 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.8524, allocations: 125.7 kB / 1.265 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.8525, allocations: 25.7 kB / 1.265 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.8525, allocations: 96.08 kB / 1.265 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.8526, allocations: 23.78 kB / 1.265 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.8526, allocations: 25.7 kB / 1.265 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8528, allocations: 318.8 kB / 1.265 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.853, allocations: 47.94 kB / 1.265 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.8531, allocations: 47.89 kB / 1.265 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.8535, allocations: 101.2 kB / 1.265 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8535, allocations: 0 / 1.265 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004267/0.8539, allocations: 137.5 kB / 1.266 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.854, allocations: 8 kB / 1.266 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.854, allocations: 3.984 kB / 1.266 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.854, allocations: 0 / 1.266 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.8542, allocations: 27.97 kB / 1.266 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.985e-05/0.8542, allocations: 3.938 kB / 1.266 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.8544, allocations: 15.92 kB / 1.266 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.8544, allocations: 8 kB / 1.266 GB, free: 2.172 MB / 0.9669 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 9.183e-05/0.8545, allocations: 113.8 kB / 1.266 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.8545, allocations: 7.953 kB / 1.266 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.8545, allocations: 16.38 kB / 1.266 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8546, allocations: 3.938 kB / 1.266 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8546, allocations: 7.938 kB / 1.266 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8546, allocations: 0 / 1.266 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.8548, allocations: 201.6 kB / 1.266 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8548, allocations: 0 / 1.266 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.855, allocations: 23.97 kB / 1.266 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.855, allocations: 0 / 1.266 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.855, allocations: 0 / 1.266 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.855, allocations: 0 / 1.266 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.855, allocations: 3.938 kB / 1.266 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.8555, allocations: 239.3 kB / 1.266 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.8556, allocations: 85.06 kB / 1.266 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.8556, allocations: 3.984 kB / 1.266 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.8557, allocations: 11.98 kB / 1.266 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.8558, allocations: 23.92 kB / 1.266 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.8558, allocations: 7.984 kB / 1.266 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.8559, allocations: 95.27 kB / 1.266 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8559, allocations: 0 / 1.266 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002251/0.8561, allocations: 19.94 kB / 1.266 GB, free: 1.227 MB / 0.9669 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.0008395/0.857, allocations: 0.7747 MB / 1.267 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.8574, allocations: 95.91 kB / 1.267 GB, free: 340 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8574, allocations: 4 kB / 1.267 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.8577, allocations: 67.88 kB / 1.267 GB, free: 268 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.858, allocations: 15.53 kB / 1.267 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.8602, allocations: 1.541 MB / 1.269 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.8605, allocations: 0.6924 MB / 1.27 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.655e-05/0.8606, allocations: 8 kB / 1.27 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.8607, allocations: 31.42 kB / 1.27 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8607, allocations: 0 / 1.27 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.8862, allocations: 2.701 MB / 1.272 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.928, allocations: 12.78 kB / 1.272 GB, free: 11.27 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.036223243921995]