Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 102.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 76.73 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002041/0.3243, allocations: 0.7825 MB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3254, allocations: 0.8938 MB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.3254, allocations: 0 / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.3255, allocations: 11.86 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.3256, allocations: 11.92 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.3257, allocations: 35.89 kB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.3259, allocations: 83.83 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.326, allocations: 23.97 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.3261, allocations: 39.84 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.3262, allocations: 51.81 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3262, allocations: 12 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3262, allocations: 8 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.3262, allocations: 15.92 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3263, allocations: 35.8 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3264, allocations: 87.94 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3264, allocations: 0 / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3264, allocations: 0 / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.3264, allocations: 0 / 1.323 GB, free: 1.238 MB / 1.014 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.0006734/0.3271, allocations: 399.1 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3272, allocations: 19.98 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.3272, allocations: 34.69 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.3272, allocations: 12.89 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3274, allocations: 180.2 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3274, allocations: 4.375 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3274, allocations: 12.12 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3277, allocations: 105.6 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3278, allocations: 0 / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3278, allocations: 4 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3278, allocations: 0 / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.3282, allocations: 103.8 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.3288, allocations: 336.7 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.3294, allocations: 118.5 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.3296, allocations: 56.81 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3296, allocations: 3.984 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3297, allocations: 42.55 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3297, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006909/0.3304, allocations: 177.5 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3304, allocations: 51.41 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3305, allocations: 129.7 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3305, allocations: 29.7 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.3306, allocations: 96.03 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3306, allocations: 27.78 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.3307, allocations: 21.7 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3308, allocations: 318.8 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.331, allocations: 43.95 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.3312, allocations: 48.27 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.3315, allocations: 108.9 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3315, allocations: 0 / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004354/0.332, allocations: 133.6 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.332, allocations: 7.938 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.332, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.332, allocations: 11.92 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3322, allocations: 23.97 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3322, allocations: 3.938 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3323, allocations: 15.94 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3323, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 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.765e-05/0.3324, allocations: 117.8 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3325, allocations: 4 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.3325, allocations: 16.36 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3325, allocations: 3.984 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3325, allocations: 3.938 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3325, allocations: 4 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3327, allocations: 197.6 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3327, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.3329, allocations: 23.97 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3329, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3329, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3329, allocations: 3.938 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3329, allocations: 3.938 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.3334, allocations: 239.4 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.3335, allocations: 81.05 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3335, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3337, allocations: 7.984 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.3337, allocations: 27.91 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3337, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.3338, allocations: 91.27 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3338, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002389/0.334, allocations: 19.95 kB / 1.326 GB, free: 13.44 MB / 1.029 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.000811/0.3349, allocations: 0.7748 MB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.3353, allocations: 103.9 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3353, allocations: 3.938 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.3355, allocations: 63.88 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3358, allocations: 16.64 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.3381, allocations: 1.532 MB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3384, allocations: 0.6885 MB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.11e-05/0.3384, allocations: 12 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/0.3385, allocations: 31.42 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3385, allocations: 4 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.3754, allocations: 2.714 MB / 1.332 GB, free: 7.461 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.634, allocations: 7.188 kB / 1.332 GB, free: 7.457 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sub.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.40983351599425]