Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_10_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.00179/0.00179, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001859, allocations: 59.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7659, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002376/0.7683, allocations: 0.7849 MB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.7696, allocations: 0.8662 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.7697, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.7697, allocations: 7.875 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.7699, allocations: 15.86 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.7701, allocations: 31.91 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.7702, allocations: 83.88 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.7704, allocations: 31.97 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.7705, allocations: 39.84 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.7706, allocations: 47.81 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.7706, allocations: 8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.7707, allocations: 8 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.7707, allocations: 23.86 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.7708, allocations: 39.78 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.7709, allocations: 87.72 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.7709, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7709, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7709, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 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.0007202/0.7717, allocations: 389.4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.7717, allocations: 8.031 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.7718, allocations: 38.75 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.7718, allocations: 8.844 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.772, allocations: 184.2 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.772, allocations: 4.375 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.7721, allocations: 4.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.7724, allocations: 117.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.7725, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.7725, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.7725, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.7729, allocations: 99.89 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.7735, allocations: 344.5 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.7742, allocations: 122.6 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.7744, allocations: 60.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.7745, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.7745, allocations: 30.56 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.572e-06/0.7745, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007241/0.7752, allocations: 181.4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.7753, allocations: 51.41 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.7754, allocations: 125.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.7755, allocations: 29.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.7755, allocations: 99.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.7756, allocations: 15.73 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.7756, allocations: 33.64 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7758, allocations: 310.8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.776, allocations: 47.94 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.7762, allocations: 55.95 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.7765, allocations: 92.77 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7765, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004539/0.777, allocations: 141.5 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.777, allocations: 7.984 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7771, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.7771, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.7773, allocations: 23.97 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7773, allocations: 0.5469 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.7774, allocations: 19.92 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7774, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 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 0.0001171/0.7775, allocations: 117.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.7776, allocations: 3.906 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.7776, allocations: 16.36 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7776, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.7776, allocations: 3.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7777, allocations: 3.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.7779, allocations: 201.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7779, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.778, allocations: 23.97 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7781, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7781, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7781, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7781, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.7786, allocations: 239.3 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.7786, allocations: 89.02 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.7787, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.7788, allocations: 19.91 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.7789, allocations: 27.86 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.7789, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.779, allocations: 103.6 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.779, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002324/0.7792, allocations: 15.94 kB / 1.023 GB, free: 12.61 MB / 0.7794 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.0008371/0.7801, allocations: 0.7709 MB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004414/0.7805, allocations: 111.8 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7805, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.7808, allocations: 63.94 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.7811, allocations: 18.97 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.7834, allocations: 1.521 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.7837, allocations: 0.6924 MB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.784e-05/0.7838, allocations: 19.97 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.7839, allocations: 27.42 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7839, allocations: 0 / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08708/0.8709, allocations: 2.661 MB / 1.029 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.555, allocations: 5.828 kB / 1.029 GB, free: 6.672 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches