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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008198/0.008198, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001789/0.001789, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9175/0.9189, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001752/0.9206, allocations: 0.7824 MB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.9215, allocations: 0.8559 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.9216, allocations: 1.969 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.9216, allocations: 9.203 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.9217, allocations: 10.58 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.9219, allocations: 40.83 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.922, allocations: 87.53 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.9221, allocations: 30.31 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.505e-05/0.9222, allocations: 36.89 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.9223, allocations: 48.45 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.9223, allocations: 7.625 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.9223, allocations: 8.188 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.9224, allocations: 18.89 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.9224, allocations: 39.75 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.9226, allocations: 87.06 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9226, allocations: 0 / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9226, allocations: 0 / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.9226, allocations: 1.125 kB / 1.089 GB, free: 3.918 MB / 0.8575 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.0005837/0.9232, allocations: 393.8 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.9233, allocations: 9.5 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.9233, allocations: 38.08 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.9233, allocations: 8.703 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.9234, allocations: 187 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.9235, allocations: 7.25 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.9235, allocations: 7.312 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.9238, allocations: 109 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.9238, allocations: 0.6562 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.9239, allocations: 5.062 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.9239, allocations: 1.062 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.9243, allocations: 97.27 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.9248, allocations: 349.7 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.9255, allocations: 114.5 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.9257, allocations: 57.67 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.9257, allocations: 17.05 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.9258, allocations: 32.33 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.9258, allocations: 3.938 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007031/0.9265, allocations: 182.1 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.9265, allocations: 53.23 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.9266, allocations: 123.7 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.9266, allocations: 26.77 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.9266, allocations: 96.23 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.9267, allocations: 16.66 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.9267, allocations: 22.95 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.9268, allocations: 319.7 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.927, allocations: 51.44 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.9272, allocations: 44.27 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.9275, allocations: 105.2 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9276, allocations: 0 / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000436/0.928, allocations: 142.5 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.928, allocations: 5.281 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.928, allocations: 0.7969 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.928, allocations: 0.6875 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.9282, allocations: 23.53 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.9282, allocations: 5.109 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.9284, allocations: 16.36 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.9284, allocations: 2.891 kB / 1.092 GB, free: 1.918 MB / 0.8575 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 7.108e-05/0.9285, allocations: 122.6 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.9285, allocations: 6.984 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.9285, allocations: 14.58 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.9285, allocations: 2.141 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9286, allocations: 3.938 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9286, allocations: 1.422 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.9287, allocations: 202.1 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.9287, allocations: 0.8125 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.9289, allocations: 23.62 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.929, allocations: 0.625 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.929, allocations: 2.688 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.929, allocations: 0.7031 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.929, allocations: 4.625 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.9294, allocations: 242.1 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.9295, allocations: 84.23 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.9295, allocations: 1.969 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.9297, allocations: 11.62 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.9297, allocations: 24.84 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.9298, allocations: 3.422 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.9298, allocations: 105.7 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9298, allocations: 0 / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002421/0.9301, allocations: 19.22 kB / 1.093 GB, free: 1.184 MB / 0.8575 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.000711/0.9308, allocations: 0.7661 MB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.9313, allocations: 111 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9313, allocations: 0.9375 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.9315, allocations: 56.72 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.9318, allocations: 19.61 kB / 1.094 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.934, allocations: 1.528 MB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.9343, allocations: 0.6896 MB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.096e-05/0.9344, allocations: 15.7 kB / 1.096 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.9345, allocations: 31.36 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9345, allocations: 0 / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.9562, allocations: 2.704 MB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.688, allocations: 18.52 kB / 1.099 GB, free: 13.99 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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