Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004313/0.004313, allocations: 101.1 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 187.2 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 75.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6884, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001802/0.6902, allocations: 0.772 MB / 1.221 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.6912, allocations: 0.8701 MB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.6913, allocations: 0 / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.6913, allocations: 7.875 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.6914, allocations: 11.86 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.6916, allocations: 43.94 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.6917, allocations: 83.77 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.6918, allocations: 27.98 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.6919, allocations: 39.84 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.972e-05/0.692, allocations: 47.83 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.692, allocations: 8 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.692, allocations: 8 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.6921, allocations: 19.91 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.6921, allocations: 35.84 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.6923, allocations: 90.33 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.6923, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6923, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6923, allocations: 4 kB / 1.222 GB, free: 15.98 MB / 0.9512 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.000644/0.6929, allocations: 396 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.693, allocations: 12.03 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.693, allocations: 34.75 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.6931, allocations: 8.891 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.6932, allocations: 180.3 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.6932, allocations: 4.375 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.6933, allocations: 12.12 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.6936, allocations: 108 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.6936, allocations: 0 / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.6936, allocations: 0 / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.6936, allocations: 7.875 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.694, allocations: 91.91 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.6946, allocations: 352.6 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.6952, allocations: 122.5 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.6955, allocations: 60.81 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.6955, allocations: 3.938 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.6955, allocations: 34.56 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6955, allocations: 0 / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000706/0.6962, allocations: 189.4 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.6963, allocations: 55.39 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.6964, allocations: 121.8 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.6964, allocations: 25.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.6965, allocations: 100.1 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.6965, allocations: 19.8 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.6966, allocations: 21.7 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6967, allocations: 326.8 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.6969, allocations: 43.95 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.6971, allocations: 43.95 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.6975, allocations: 92.78 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6975, allocations: 4 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004487/0.698, allocations: 141.5 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.698, allocations: 4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.698, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.698, allocations: 7.984 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.6982, allocations: 23.97 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6982, allocations: 7.938 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.6983, allocations: 15.97 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.6984, allocations: 4 kB / 1.225 GB, free: 13.13 MB / 0.9512 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 8.613e-05/0.6985, allocations: 113.8 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.6985, allocations: 7.953 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.6985, allocations: 8.375 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6985, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6985, allocations: 7.938 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.6986, allocations: 7.984 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.6988, allocations: 197.5 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6988, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.699, allocations: 27.91 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.699, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.699, allocations: 7.984 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.699, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.699, allocations: 3.938 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.6995, allocations: 235.4 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.6996, allocations: 85 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.6996, allocations: 4 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.6998, allocations: 7.984 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.6999, allocations: 27.91 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6999, allocations: 8 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.6999, allocations: 95.27 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7, allocations: 0 / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002416/0.7002, allocations: 15.94 kB / 1.226 GB, free: 12.19 MB / 0.9512 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.0008947/0.7011, allocations: 0.7759 MB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.7016, allocations: 108 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7016, allocations: 3.938 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.7018, allocations: 63.95 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.7021, allocations: 16.69 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.7044, allocations: 1.541 MB / 1.228 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.7047, allocations: 0.6924 MB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.966e-05/0.7048, allocations: 15.98 kB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.7049, allocations: 27.42 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of SimCode: time 2.053e-06/0.7049, allocations: 0 / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.7279, allocations: 2.701 MB / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.332, allocations: 14.77 kB / 1.231 GB, free: 6.203 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches