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.001708/0.001708, allocations: 111 kB / 16.46 MB, free: 6.453 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.00204/0.00204, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.945/2.945, allocations: 476.7 MB / 0.7672 GB, free: 5.23 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.002128/0.002128, allocations: 71.89 kB / 1.112 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 169.9 MB / 1.278 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002267/1.121, allocations: 0.7029 MB / 1.279 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001151/1.122, allocations: 0.8393 MB / 1.28 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/1.122, allocations: 0 / 1.28 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/1.122, allocations: 0 / 1.28 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/1.122, allocations: 15.84 kB / 1.28 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.893e-05/1.123, allocations: 15.98 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.877e-05/1.123, allocations: 39.86 kB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/1.123, allocations: 11.98 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/1.123, allocations: 15.92 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/1.123, allocations: 23.92 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/1.123, allocations: 8 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-06/1.123, allocations: 0 / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/1.123, allocations: 11.98 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/1.123, allocations: 15.88 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/1.123, allocations: 37.97 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.123, allocations: 8 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/1.123, allocations: 0 / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.123, allocations: 7.875 kB / 1.28 GB, free: 11.8 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.0006837/1.124, allocations: 371.2 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.124, allocations: 8.031 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/1.124, allocations: 30.75 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/1.124, allocations: 8.938 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.124, allocations: 168.3 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/1.124, allocations: 4.375 kB / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/1.124, allocations: 4.359 kB / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/1.124, allocations: 70.22 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.124, allocations: 7.938 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.124, allocations: 0 / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.124, allocations: 0 / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/1.125, allocations: 67.86 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/1.125, allocations: 260.9 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/1.125, allocations: 58.55 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/1.126, allocations: 40.91 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/1.126, allocations: 3.984 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.126, allocations: 34.56 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.126, allocations: 4 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000549/1.126, allocations: 133.5 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.126, allocations: 51.41 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.126, allocations: 113.8 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/1.126, allocations: 25.7 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/1.126, allocations: 92.08 kB / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/1.126, allocations: 11.89 kB / 1.282 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/1.126, allocations: 13.72 kB / 1.282 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.127, allocations: 318.8 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/1.127, allocations: 27.97 kB / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/1.127, allocations: 35.95 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/1.127, allocations: 72.67 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.127, allocations: 0 / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003499/1.127, allocations: 101.6 kB / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.127, allocations: 8 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.128, allocations: 0 / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/1.128, allocations: 4 kB / 1.282 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.128, allocations: 11.98 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.128, allocations: 0 / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/1.128, allocations: 11.98 kB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/1.128, allocations: 0 / 1.282 GB, free: 9.434 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.82e-05/1.128, allocations: 123.1 kB / 1.282 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/1.128, allocations: 3.984 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/1.128, allocations: 11.91 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.128, allocations: 3.938 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.128, allocations: 3.938 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.128, allocations: 0 / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/1.128, allocations: 177.5 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.128, allocations: 0 / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.605e-05/1.128, allocations: 15.97 kB / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/1.128, allocations: 4 kB / 1.282 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.128, allocations: 8 kB / 1.282 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.128, allocations: 0 / 1.282 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.128, allocations: 0 / 1.282 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/1.129, allocations: 187.4 kB / 1.283 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/1.129, allocations: 81.06 kB / 1.283 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/1.129, allocations: 15.98 kB / 1.283 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.129, allocations: 7.984 kB / 1.283 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/1.129, allocations: 4 kB / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/1.129, allocations: 0 / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.561e-05/1.129, allocations: 91.27 kB / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.129, allocations: 7.875 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002129/1.129, allocations: 4 kB / 1.283 GB, free: 8.594 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.0007571/1.13, allocations: 0.7289 MB / 1.284 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003621/1.13, allocations: 75.91 kB / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.13, allocations: 0 / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.13, allocations: 35.91 kB / 1.284 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/1.131, allocations: 11.94 kB / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/1.131, allocations: 153.2 kB / 1.284 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.132, allocations: 0.6846 MB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.055e-05/1.132, allocations: 3.984 kB / 1.284 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/1.132, allocations: 15.44 kB / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/1.132, allocations: 0 / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/1.157, allocations: 1.649 MB / 1.286 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/9.239, allocations: 15.38 kB / 1.286 GB, free: 5.234 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.73944716900587]