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.007355/0.007355, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001816/0.001816, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.379/2.379, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.3 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3054, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002255/0.3077, allocations: 0.7677 MB / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3089, allocations: 0.8662 MB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.309, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/0.3091, allocations: 7.875 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.3092, allocations: 7.938 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3094, allocations: 51.81 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3096, allocations: 79.89 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3097, allocations: 23.97 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3099, allocations: 43.78 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.3099, allocations: 55.81 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.31, allocations: 8 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.31, allocations: 8 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.31, allocations: 15.92 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.3101, allocations: 35.92 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3103, allocations: 83.94 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3103, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3103, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3104, allocations: 0 / 1.089 GB, free: 15.91 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.0007131/0.3111, allocations: 395.1 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3111, allocations: 12.03 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.3112, allocations: 38.73 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.3112, allocations: 8.891 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3114, allocations: 180.2 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3115, allocations: 8.375 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3115, allocations: 8.125 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.3118, allocations: 107.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3118, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3119, allocations: 4 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.3119, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.3123, allocations: 99.83 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.3129, allocations: 356.5 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.3135, allocations: 122.5 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3137, allocations: 56.81 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3138, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3138, allocations: 38.56 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3138, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006924/0.3145, allocations: 181.5 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3146, allocations: 59.39 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3147, allocations: 121.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3147, allocations: 29.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.3148, allocations: 92.08 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3148, allocations: 19.84 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.3149, allocations: 29.64 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.315, allocations: 314.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3152, allocations: 51.94 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3154, allocations: 43.95 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.3158, allocations: 92.78 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3158, allocations: 3.938 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004169/0.3162, allocations: 145.5 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3162, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3162, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3163, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3164, allocations: 31.91 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3165, allocations: 3.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3166, allocations: 19.94 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3166, allocations: 0 / 1.092 GB, free: 13.05 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 9.071e-05/0.3167, allocations: 117.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.3167, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.3168, allocations: 16.31 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3168, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.3168, allocations: 7.938 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3168, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.317, allocations: 197.6 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.317, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.3172, allocations: 27.97 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3172, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3172, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3172, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3172, allocations: 3.938 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.3177, allocations: 239.4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.3177, allocations: 89 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3178, allocations: 3.984 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3179, allocations: 11.98 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.318, allocations: 19.92 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.318, allocations: 7.984 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.721e-05/0.3181, allocations: 95.64 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3181, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002367/0.3183, allocations: 23.95 kB / 1.093 GB, free: 12.1 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.0008523/0.3192, allocations: 0.7638 MB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.3196, allocations: 99.91 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3197, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.3199, allocations: 72.09 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3202, allocations: 13.98 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3224, allocations: 1.54 MB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3227, allocations: 0.6937 MB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.892e-05/0.3227, allocations: 11.75 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.3229, allocations: 35.42 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3229, allocations: 0 / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.3433, allocations: 2.706 MB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.154, allocations: 13.95 kB / 1.099 GB, free: 6.129 MB / 0.8575 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