Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_9_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.001582/0.001582, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001936/0.001936, allocations: 192.7 kB / 16.13 MB, free: 6.691 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6249, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001815/0.6267, allocations: 0.8228 MB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.6274, allocations: 0.8647 MB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.6275, allocations: 1.375 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.6275, allocations: 3.938 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.6276, allocations: 9.297 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.6277, allocations: 30.86 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.6278, allocations: 82.19 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.6279, allocations: 25.61 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.628, allocations: 40.16 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.628, allocations: 49.5 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.6281, allocations: 4.125 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.6281, allocations: 5.5 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.6281, allocations: 18.73 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.6282, allocations: 34.66 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.663e-05/0.6282, allocations: 81.47 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6283, allocations: 1.375 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6283, allocations: 0 / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6283, allocations: 0 / 0.9511 GB, free: 7.547 MB / 0.7169 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.0005287/0.6288, allocations: 394.6 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6288, allocations: 8.406 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.6289, allocations: 40.44 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.6289, allocations: 12.8 kB / 0.9515 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.629, allocations: 180.6 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.629, allocations: 8.125 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.629, allocations: 8.25 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.6293, allocations: 103.6 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.6293, allocations: 0 / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6294, allocations: 0.8438 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6294, allocations: 6.828 kB / 0.9518 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.6297, allocations: 103.3 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.6302, allocations: 342.2 kB / 0.9522 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.6308, allocations: 123.1 kB / 0.9524 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.631, allocations: 60.89 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.631, allocations: 1.312 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.631, allocations: 39.94 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.631, allocations: 0 / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006167/0.6317, allocations: 171.5 kB / 0.9526 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.6317, allocations: 52.5 kB / 0.9527 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.6318, allocations: 137.7 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.6318, allocations: 30.98 kB / 0.9528 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.6318, allocations: 94.83 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.6319, allocations: 23.16 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.6319, allocations: 24.11 kB / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.632, allocations: 316.5 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.6321, allocations: 43.48 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.6323, allocations: 52.47 kB / 0.9534 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.6326, allocations: 101.8 kB / 0.9534 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6326, allocations: 0 / 0.9534 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003779/0.633, allocations: 139.9 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.633, allocations: 5.594 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.633, allocations: 4.016 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6331, allocations: 1.406 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.6332, allocations: 28.25 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.6332, allocations: 3.984 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.6334, allocations: 15.39 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.6334, allocations: 5.156 kB / 0.9536 GB, free: 5.25 MB / 0.7169 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.69e-05/0.6335, allocations: 117.8 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.6335, allocations: 11.02 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.6335, allocations: 9.562 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6335, allocations: 1 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6335, allocations: 1.031 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6335, allocations: 3.938 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.6337, allocations: 200 kB / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6337, allocations: 0 / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.6339, allocations: 28.03 kB / 0.954 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6339, allocations: 1.219 kB / 0.954 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.6339, allocations: 5.594 kB / 0.954 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6339, allocations: 0 / 0.954 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6339, allocations: 4 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.6344, allocations: 239.2 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.6344, allocations: 79.33 kB / 0.9543 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.6344, allocations: 1.156 kB / 0.9543 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.6346, allocations: 22.62 kB / 0.9543 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.6347, allocations: 22.47 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.6347, allocations: 2.375 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.6347, allocations: 97.05 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6347, allocations: 1.062 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002335/0.635, allocations: 24 kB / 0.9545 GB, free: 4.449 MB / 0.7169 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.0006135/0.6356, allocations: 0.7605 MB / 0.9552 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.636, allocations: 112.9 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.636, allocations: 1.375 kB / 0.9553 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.6362, allocations: 58.77 kB / 0.9554 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.6365, allocations: 15.56 kB / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.6385, allocations: 1.551 MB / 0.9569 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.6386, allocations: 0.691 MB / 0.9576 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.6387, allocations: 14.03 kB / 0.9576 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6389, allocations: 28.67 kB / 0.9576 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.6389, allocations: 0 / 0.9576 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.6541, allocations: 2.339 MB / 0.9599 GB, free: 352 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.6543, allocations: 207.3 kB / 0.9601 GB, free: 88 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.502, allocations: 3.938 kB / 0.9601 GB, free: 84 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches