Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 71.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.799, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001519/0.8006, allocations: 0.7142 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.8012, allocations: 0.8123 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.8012, allocations: 0.9062 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.8013, allocations: 0.8906 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.8013, allocations: 12.52 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.07e-05/0.8013, allocations: 13.38 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.8014, allocations: 39.02 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.8015, allocations: 13.09 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.8015, allocations: 17.81 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.8016, allocations: 26.11 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.8016, allocations: 4.406 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.8016, allocations: 3.438 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.8016, allocations: 10.58 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.8016, allocations: 14.44 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.561e-05/0.8017, allocations: 41.14 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.8017, allocations: 4.844 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8017, allocations: 0.6562 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.8017, allocations: 4 kB / 1.273 GB, free: 6.531 MB / 0.9981 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.0003495/0.8021, allocations: 364.8 kB / 1.273 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.8021, allocations: 10 kB / 1.273 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.931e-05/0.8021, allocations: 32.06 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.736e-05/0.8021, allocations: 7.156 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.893e-05/0.8022, allocations: 164.4 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.8022, allocations: 1.344 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.8022, allocations: 6.156 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.8024, allocations: 69.02 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.8024, allocations: 3.938 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.8024, allocations: 5.266 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.8024, allocations: 0.7188 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.8027, allocations: 66 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.8029, allocations: 274.2 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.8031, allocations: 55.22 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.8032, allocations: 40.3 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.8033, allocations: 4.719 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.989e-06/0.8033, allocations: 39.06 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.8033, allocations: 0.7188 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004578/0.8037, allocations: 127.5 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.8037, allocations: 60.38 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.8038, allocations: 107.1 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.8038, allocations: 25.7 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.8038, allocations: 95.41 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.8038, allocations: 7.422 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.8038, allocations: 12.03 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.2e-05/0.8039, allocations: 322.5 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.804, allocations: 36.44 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.8041, allocations: 28.77 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.8044, allocations: 74.42 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.8044, allocations: 0.625 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002781/0.8047, allocations: 99.91 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.8047, allocations: 5 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.8047, allocations: 3.938 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.8047, allocations: 0.9375 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.8048, allocations: 14.53 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.8048, allocations: 0.9062 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.8049, allocations: 18.95 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.8049, allocations: 1.062 kB / 1.275 GB, free: 4.703 MB / 0.9981 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 3.837e-05/0.8049, allocations: 117.5 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.8049, allocations: 2.094 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.805, allocations: 13.41 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.805, allocations: 0 / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.805, allocations: 2.344 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.805, allocations: 0 / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.8051, allocations: 166.5 kB / 1.275 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8051, allocations: 4 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.8052, allocations: 17.28 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.8052, allocations: 0 / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.8052, allocations: 5.125 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.8052, allocations: 0 / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8052, allocations: 0.9688 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.8054, allocations: 198.2 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.8055, allocations: 77.83 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.8055, allocations: 0.8438 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.8056, allocations: 12.97 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.8056, allocations: 9.016 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.8056, allocations: 0.8125 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.352e-05/0.8056, allocations: 94.39 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8056, allocations: 4 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001976/0.8058, allocations: 6.562 kB / 1.276 GB, free: 4.023 MB / 0.9981 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.0004578/0.8063, allocations: 0.732 MB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.8066, allocations: 67.08 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8066, allocations: 4.688 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.8067, allocations: 32.14 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.807, allocations: 16.97 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.8073, allocations: 159.7 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.962e-05/0.8074, allocations: 0.68 MB / 1.278 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.8074, allocations: 9.766 kB / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.8074, allocations: 13.86 kB / 1.278 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.8074, allocations: 0 / 1.278 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.8289, allocations: 1.623 MB / 1.279 GB, free: 18.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/7.662, allocations: 6.156 kB / 1.279 GB, free: 18.06 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable add1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! Error: Could not read variable add1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv. Warning: Get data of variable add1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.043990927995765]