Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001372/0.001372, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001571/0.001571, allocations: 213 kB / 22.25 MB, free: 4.859 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.884/2.884, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.002191/0.002191, allocations: 69.3 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3747, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.003054/0.3777, allocations: 0.6982 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3791, allocations: 0.8277 MB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.3791, allocations: 4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.3791, allocations: 3.938 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.3792, allocations: 11.92 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.632e-05/0.3793, allocations: 7.984 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3794, allocations: 47.86 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3795, allocations: 13.66 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.3796, allocations: 15.94 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.3797, allocations: 23.84 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.3797, allocations: 4 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.3797, allocations: 4 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3797, allocations: 8 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.3798, allocations: 11.92 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3799, allocations: 39.39 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3799, allocations: 8 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3799, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3799, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006492/0.3805, allocations: 282.3 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3806, allocations: 8.031 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.3806, allocations: 42.67 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.3807, allocations: 4.891 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3808, allocations: 118.4 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3808, allocations: 4.375 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3809, allocations: 16.25 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.3812, allocations: 62.22 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3812, allocations: 3.938 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.3812, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3812, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.3816, allocations: 67.92 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.3822, allocations: 236 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.3825, allocations: 50.48 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3827, allocations: 44.91 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3827, allocations: 4 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3828, allocations: 30.56 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3828, allocations: 0 / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0007041/0.3835, allocations: 133.5 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.3835, allocations: 55.34 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3836, allocations: 113.8 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3837, allocations: 25.7 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.3837, allocations: 84.14 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3838, allocations: 15.95 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3838, allocations: 9.719 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.384, allocations: 322.8 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3842, allocations: 23.97 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3844, allocations: 40.12 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3847, allocations: 68.73 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3847, allocations: 0 / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003515/0.3851, allocations: 109.5 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3851, allocations: 4 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3851, allocations: 4 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3851, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3853, allocations: 15.98 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3853, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.3854, allocations: 15.98 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3854, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001022/0.3855, allocations: 117.7 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3855, allocations: 7.984 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.3855, allocations: 8 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3855, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3855, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3855, allocations: 4 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.3857, allocations: 140.6 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3857, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/0.3858, allocations: 15.98 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3858, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3858, allocations: 7.922 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3858, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3858, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.3862, allocations: 203.4 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.3862, allocations: 3.938 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3862, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3864, allocations: 15.97 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3864, allocations: 4 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.3864, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.845e-05/0.3865, allocations: 87.27 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3865, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002159/0.3867, allocations: 11.95 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007542/0.3874, allocations: 0.728 MB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3878, allocations: 67.92 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3878, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.3879, allocations: 31.97 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3883, allocations: 10.34 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.3889, allocations: 151.7 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.389, allocations: 67.28 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.955e-05/0.389, allocations: 8 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.3891, allocations: 15.42 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3891, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.4178, allocations: 2.186 MB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.77, allocations: 8.188 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sub.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.660469208378345]