Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001553/0.001553, allocations: 216.9 kB / 22.26 MB, free: 5.207 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.318/3.318, allocations: 0.505 GB / 0.8101 GB, free: 21.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_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.002113/0.002113, allocations: 63.05 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4103, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002055/0.4124, allocations: 0.7202 MB / 1.354 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.4136, allocations: 0.8358 MB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.4136, allocations: 0 / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.4136, allocations: 3.938 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.4137, allocations: 7.938 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.495e-05/0.4138, allocations: 7.984 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.4139, allocations: 47.84 kB / 1.354 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.414, allocations: 11.98 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.799e-05/0.414, allocations: 23.92 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.4141, allocations: 23.91 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4141, allocations: 7.938 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.4141, allocations: 4 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.4141, allocations: 4 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.4142, allocations: 23.86 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.652e-05/0.4143, allocations: 44.09 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.4143, allocations: 0 / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4143, allocations: 0 / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4143, allocations: 0 / 1.355 GB, free: 6.621 MB / 1.045 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.0005342/0.4148, allocations: 286.2 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4149, allocations: 12.03 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.4149, allocations: 30.75 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.4149, allocations: 0.9375 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.415, allocations: 126.4 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4151, allocations: 4.375 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.4151, allocations: 384 / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.4153, allocations: 74.16 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.4153, allocations: 3.938 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.4153, allocations: 0 / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4153, allocations: 4 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.4156, allocations: 63.92 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.416, allocations: 243.9 kB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4162, allocations: 46.55 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4164, allocations: 52.84 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4164, allocations: 0 / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.4164, allocations: 34.56 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.4164, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005477/0.4169, allocations: 129.6 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.417, allocations: 55.34 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.4171, allocations: 117.8 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4171, allocations: 25.7 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.4172, allocations: 88.08 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4172, allocations: 11.91 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.4172, allocations: 13.72 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4174, allocations: 322.8 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4175, allocations: 27.97 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4177, allocations: 35.95 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.4179, allocations: 68.73 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4179, allocations: 0 / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003248/0.4182, allocations: 101.6 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4183, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4183, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4183, allocations: 0 / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.4184, allocations: 19.98 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4184, allocations: 3.938 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.4185, allocations: 11.98 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4185, allocations: 0 / 1.357 GB, free: 4.445 MB / 1.045 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.0001184/0.4186, allocations: 125.7 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.4187, allocations: 3.953 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.4187, allocations: 8 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4187, allocations: 4 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4187, allocations: 4 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4187, allocations: 0 / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.4189, allocations: 144.6 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4189, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.77e-05/0.419, allocations: 19.97 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.419, allocations: 4 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.419, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.419, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.419, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.4194, allocations: 199.4 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.4194, allocations: 7.953 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.4194, allocations: 3.984 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4195, allocations: 7.984 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.4196, allocations: 4 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.4196, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.4197, allocations: 91.27 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4197, allocations: 3.938 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002179/0.4199, allocations: 4 kB / 1.357 GB, free: 3.75 MB / 1.045 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.0008145/0.4207, allocations: 0.7283 MB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.4211, allocations: 75.89 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4211, allocations: 4 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4212, allocations: 35.97 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4216, allocations: 9.531 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.4221, allocations: 151.2 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4225, allocations: 0.6846 MB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.4225, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.4226, allocations: 11.44 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.4226, allocations: 0 / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.4513, allocations: 1.743 MB / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.22, allocations: 7.875 kB / 1.361 GB, free: 360 kB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.346930504000284]