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.001829/0.001829, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002473/0.002473, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.988 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.772/2.772, allocations: 476.8 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] 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.002187/0.002187, allocations: 70.64 kB / 1.117 GB, free: 39.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3648, allocations: 169.9 MB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002108/0.3669, allocations: 0.7087 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.368, allocations: 0.8472 MB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.368, allocations: 4 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.3681, allocations: 3.938 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.3681, allocations: 3.938 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.821e-05/0.3682, allocations: 7.984 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.728e-05/0.3683, allocations: 47.91 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3684, allocations: 4 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.3685, allocations: 19.92 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.3685, allocations: 19.92 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3685, allocations: 4 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.3685, allocations: 11.94 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3686, allocations: 7.984 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.3686, allocations: 19.86 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.3687, allocations: 39.39 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3687, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.417e-06/0.3687, allocations: 7.922 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3687, allocations: 0 / 1.285 GB, free: 9.555 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.0005311/0.3692, allocations: 290.2 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3693, allocations: 12.03 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.3693, allocations: 30.75 kB / 1.285 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.3694, allocations: 4.938 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3695, allocations: 118.4 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3695, allocations: 4.375 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.3695, allocations: 384 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3697, allocations: 74.16 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3698, allocations: 7.875 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.3698, allocations: 4 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3698, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.37, allocations: 63.92 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3704, allocations: 232 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.3706, allocations: 62.52 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3708, allocations: 48.84 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3708, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3708, allocations: 30.56 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3708, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005314/0.3714, allocations: 129.5 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.3714, allocations: 55.39 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3716, allocations: 105.9 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3716, allocations: 29.69 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.3717, allocations: 88.12 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3717, allocations: 11.95 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3717, allocations: 17.72 kB / 1.286 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3719, allocations: 314.8 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.372, allocations: 31.91 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3721, allocations: 31.97 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.3724, allocations: 72.72 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3724, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003052/0.3727, allocations: 97.58 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3727, allocations: 7.984 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3727, allocations: 8 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3727, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3729, allocations: 11.98 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3729, allocations: 3.938 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.373, allocations: 19.92 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.373, allocations: 4 kB / 1.287 GB, free: 7.375 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 8.725e-05/0.373, allocations: 113.8 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3731, allocations: 7.953 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.3731, allocations: 19.92 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3731, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3731, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3731, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3733, allocations: 144.6 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3733, allocations: 0 / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.3734, allocations: 15.98 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3734, allocations: 3.984 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3734, allocations: 0 / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3734, allocations: 4 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3734, allocations: 0 / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.3738, allocations: 195.7 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.3738, allocations: 7.953 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3738, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3739, allocations: 19.97 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3739, allocations: 4.031 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3739, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.374, allocations: 91.58 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.374, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002158/0.3742, allocations: 8 kB / 1.288 GB, free: 6.68 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.0007248/0.3749, allocations: 0.7202 MB / 1.288 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3753, allocations: 75.86 kB / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3753, allocations: 0 / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3754, allocations: 31.97 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3758, allocations: 11.73 kB / 1.288 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.3763, allocations: 151.2 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3766, allocations: 0.6846 MB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.3766, allocations: 0 / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3767, allocations: 19.42 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3767, allocations: 0 / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.4087, allocations: 1.74 MB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.33, allocations: 11.58 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB " [Timeout remaining time 289] (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.361006164001083]